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(
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(

View file

@ -12,6 +12,7 @@ using WebsitePanel.WebDav.Core;
namespace WebsitePanel.WebDavPortal.Controllers
{
[AllowAnonymous]
public class AccountController : Controller
{
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>
</authentication>
<authorization>
<allow users="*" />
<allow users="?" />
</authorization>
<globalization culture="auto:en-US" uiCulture="auto:en" requestEncoding="UTF-8" responseEncoding="UTF-8"></globalization>
</system.web>