webdav portal bug fixes

This commit is contained in:
vfedosevich 2015-01-13 05:12:44 -08:00
parent 7dd090820b
commit 70daade557
3 changed files with 3 additions and 3 deletions

View file

@ -35,8 +35,7 @@ namespace WebsitePanel.WebDavPortal
routes.MapRoute( routes.MapRoute(
name: FileSystemRouteNames.FilePath, name: FileSystemRouteNames.FilePath,
url: "{org}/{*pathPart}", url: "{org}/{*pathPart}",
defaults: new { controller = "FileSystem", action = "ShowContent", pathPart = UrlParameter.Optional }, defaults: new { controller = "FileSystem", action = "ShowContent", pathPart = UrlParameter.Optional }
constraints: new { org = new Constraints.OrganizationRouteConstraint() }
); );
routes.MapRoute( routes.MapRoute(

View file

@ -12,6 +12,7 @@ using WebsitePanel.WebDav.Core;
namespace WebsitePanel.WebDavPortal.Controllers namespace WebsitePanel.WebDavPortal.Controllers
{ {
[AllowAnonymous]
public class AccountController : Controller public class AccountController : Controller
{ {
private readonly ICryptography _cryptography; private readonly ICryptography _cryptography;

View file

@ -90,7 +90,7 @@
<forms name=".WEBSITEPANELWEBDAVPORTALAUTHASPX" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false"></forms> <forms name=".WEBSITEPANELWEBDAVPORTALAUTHASPX" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false"></forms>
</authentication> </authentication>
<authorization> <authorization>
<allow users="*" /> <allow users="?" />
</authorization> </authorization>
<globalization culture="auto:en-US" uiCulture="auto:en" requestEncoding="UTF-8" responseEncoding="UTF-8"></globalization> <globalization culture="auto:en-US" uiCulture="auto:en" requestEncoding="UTF-8" responseEncoding="UTF-8"></globalization>
</system.web> </system.web>