diff --git a/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs b/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs index 7658e937ff8..eccb01e997c 100644 --- a/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs +++ b/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs @@ -101,11 +101,7 @@ public ActionResult LogOff(string returnUrl) { return this.RedirectLocal(returnUrl); } - int MinPasswordLength { - get { - return _membershipService.GetSettings().MinRequiredPasswordLength; - } - } + int MinPasswordLength => _membershipService.GetSettings().MinRequiredPasswordLength; [AlwaysAccessible] public ActionResult Register() { @@ -293,22 +289,27 @@ public ActionResult ChangePasswordSuccess() { return View(); } + [AlwaysAccessible] public ActionResult RegistrationPending() { return View(); } + [AlwaysAccessible] public ActionResult ChallengeEmailSent() { return View(); } + [AlwaysAccessible] public ActionResult ChallengeEmailSuccess() { return View(); } + [AlwaysAccessible] public ActionResult ChallengeEmailFail() { return View(); } + [AlwaysAccessible] public ActionResult ChallengeEmail(string nonce) { var user = _userService.ValidateChallenge(nonce);