Skip to content

Commit

Permalink
Users: Fixing that registration-related actions should always be acce…
Browse files Browse the repository at this point in the history
…ssible (#8166)
  • Loading branch information
LombiqTechnologies authored and BenedekFarkas committed Mar 9, 2019
1 parent ba722cf commit cb0011c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ public class AccountController : Controller {
return this.RedirectLocal(returnUrl);
}

int MinPasswordLength {
get {
return _membershipService.GetSettings().MinRequiredPasswordLength;
}
}
int MinPasswordLength => _membershipService.GetSettings().MinRequiredPasswordLength;

[AlwaysAccessible]
public ActionResult Register() {
Expand Down Expand Up @@ -293,22 +289,27 @@ public class AccountController : Controller {
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);

Expand Down

0 comments on commit cb0011c

Please sign in to comment.