webdav portal bug fixes

This commit is contained in:
vfedosevich 2015-01-13 05:44:17 -08:00
parent 412fe073dc
commit 92befdea38

View file

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