webdav portal routes fix

This commit is contained in:
vfedosevich 2015-01-19 01:04:13 -08:00
parent 67aab39780
commit 1da7c6c3b3
6 changed files with 9 additions and 10 deletions

View file

@ -46,8 +46,6 @@ namespace WebsitePanel.WebDavPortal.Controllers
{
_authenticationService.CreateAuthenticationTicket(user);
Session[WebDavAppConfigManager.Instance.SessionKeys.WebDavManager] = null;
return RedirectToRoute(FileSystemRouteNames.FilePath, new { org = WspContext.User.OrganizationId });
}
@ -59,8 +57,6 @@ namespace WebsitePanel.WebDavPortal.Controllers
{
_authenticationService.LogOut();
Session[WebDavAppConfigManager.Instance.SessionKeys.WebDavManager] = null;
return RedirectToRoute(AccountRouteNames.Login);
}
}