webdav portal group permission fix
added logout button
This commit is contained in:
parent
2ec10f6988
commit
e4785dabca
8 changed files with 75 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using WebsitePanel.WebDavPortal.UI.Routes;
|
||||
|
||||
namespace WebsitePanel.WebDavPortal
|
||||
{
|
||||
|
@ -9,6 +10,18 @@ namespace WebsitePanel.WebDavPortal
|
|||
{
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
routes.MapRoute(
|
||||
name: AccountRouteNames.Logout,
|
||||
url: "account/logout",
|
||||
defaults: new { controller = "Account", action = "Logout" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: AccountRouteNames.Login,
|
||||
url: "account/login",
|
||||
defaults: new { controller = "Account", action = "Login" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Office365DocumentRoute",
|
||||
url: "office365/{org}/{*pathPart}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue