webdav portal bug fixes
This commit is contained in:
parent
412fe073dc
commit
92befdea38
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,8 @@ namespace WebsitePanel.WebDavPortal.Controllers
|
||||||
|
|
||||||
if (user.Identity.IsAuthenticated)
|
if (user.Identity.IsAuthenticated)
|
||||||
{
|
{
|
||||||
|
Session[WebDavAppConfigManager.Instance.SessionKeys.WebDavManager] = null;
|
||||||
|
|
||||||
return RedirectToRoute(FileSystemRouteNames.FilePath, new { org = WspContext.User.OrganizationId });
|
return RedirectToRoute(FileSystemRouteNames.FilePath, new { org = WspContext.User.OrganizationId });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,6 +57,8 @@ namespace WebsitePanel.WebDavPortal.Controllers
|
||||||
{
|
{
|
||||||
_authenticationService.LogOut();
|
_authenticationService.LogOut();
|
||||||
|
|
||||||
|
Session[WebDavAppConfigManager.Instance.SessionKeys.WebDavManager] = null;
|
||||||
|
|
||||||
return RedirectToRoute(AccountRouteNames.Login);
|
return RedirectToRoute(AccountRouteNames.Login);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue