webdav portal password change page added
This commit is contained in:
parent
dd15673752
commit
4bae47e17f
35 changed files with 2010 additions and 93 deletions
|
@ -17,7 +17,8 @@ namespace WebsitePanel.WebDavPortal
|
|||
bundles.Add(jQueryBundle);
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
||||
"~/Scripts/jquery.validate*"));
|
||||
"~/Scripts/jquery.validate*",
|
||||
"~/Scripts/appScripts/validation/passwordeditor.unobtrusive.js"));
|
||||
|
||||
// Use the development version of Modernizr to develop with and learn from. Then, when you're
|
||||
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
|
||||
|
|
|
@ -12,6 +12,18 @@ namespace WebsitePanel.WebDavPortal
|
|||
|
||||
#region Account
|
||||
|
||||
routes.MapRoute(
|
||||
name: AccountRouteNames.UserProfile,
|
||||
url: "account/profile",
|
||||
defaults: new { controller = "Account", action = "UserProfile" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: AccountRouteNames.PasswordChange,
|
||||
url: "account/profile/password-change",
|
||||
defaults: new { controller = "Account", action = "PasswordChange" }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: AccountRouteNames.Logout,
|
||||
url: "account/logout",
|
||||
|
|
|
@ -9,5 +9,8 @@ namespace WebsitePanel.WebDavPortal.UI.Routes
|
|||
{
|
||||
public const string Logout = "AccountLogout";
|
||||
public const string Login = "AccountLogin";
|
||||
public const string UserProfile = "UserProfileRoute";
|
||||
|
||||
public const string PasswordChange = "PasswordChangeRoute";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue