diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/App_Start/RouteConfig.cs b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/App_Start/RouteConfig.cs index bb502e15..d8b9682d 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/App_Start/RouteConfig.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/App_Start/RouteConfig.cs @@ -35,8 +35,7 @@ namespace WebsitePanel.WebDavPortal routes.MapRoute( name: FileSystemRouteNames.FilePath, url: "{org}/{*pathPart}", - defaults: new { controller = "FileSystem", action = "ShowContent", pathPart = UrlParameter.Optional }, - constraints: new { org = new Constraints.OrganizationRouteConstraint() } + defaults: new { controller = "FileSystem", action = "ShowContent", pathPart = UrlParameter.Optional } ); routes.MapRoute( diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Controllers/AccountController.cs b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Controllers/AccountController.cs index 2ce7cb64..5c8e2ab7 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Controllers/AccountController.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Controllers/AccountController.cs @@ -12,6 +12,7 @@ using WebsitePanel.WebDav.Core; namespace WebsitePanel.WebDavPortal.Controllers { + [AllowAnonymous] public class AccountController : Controller { private readonly ICryptography _cryptography; diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Web.config b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Web.config index ccb50c45..25d53401 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Web.config +++ b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Web.config @@ -90,7 +90,7 @@ - +