diff --git a/Bootstrap.Admin/Controllers/Api/RegisterController.cs b/Bootstrap.Admin/Controllers/Api/RegisterController.cs index 156ea7a3..1ff40ca5 100644 --- a/Bootstrap.Admin/Controllers/Api/RegisterController.cs +++ b/Bootstrap.Admin/Controllers/Api/RegisterController.cs @@ -45,7 +45,7 @@ namespace Bootstrap.Admin.Controllers.Api } /// - /// + /// 重置密码调用 /// /// /// diff --git a/Bootstrap.Admin/Controllers/Api/UsersController.cs b/Bootstrap.Admin/Controllers/Api/UsersController.cs index 431dc87c..4f3121fc 100644 --- a/Bootstrap.Admin/Controllers/Api/UsersController.cs +++ b/Bootstrap.Admin/Controllers/Api/UsersController.cs @@ -75,6 +75,9 @@ namespace Bootstrap.Admin.Controllers.Api case "group": ret = UserHelper.RetrievesByGroupId(id); break; + case "reset": + ret = UserHelper.RetrieveResetReasonsByUserName(id).Select(u => new { u.Key, u.Value }); + break; } return ret; } diff --git a/Bootstrap.Admin/Views/Account/Login.cshtml b/Bootstrap.Admin/Views/Account/Login.cshtml index 03b2b5d0..89db252c 100644 --- a/Bootstrap.Admin/Views/Account/Login.cshtml +++ b/Bootstrap.Admin/Views/Account/Login.cshtml @@ -162,7 +162,7 @@ - +
@@ -178,7 +178,7 @@
- +