mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Improving e-mail templates and settings for users registration
--HG-- branch : dev
This commit is contained in:
@@ -263,8 +263,8 @@ namespace Orchard.Users.Controllers {
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult ChallengeEmail(string token) {
|
||||
var user = _userService.ValidateChallenge(token);
|
||||
public ActionResult ChallengeEmail(string nonce) {
|
||||
var user = _userService.ValidateChallenge(nonce);
|
||||
|
||||
if ( user != null ) {
|
||||
_authenticationService.SignIn(user, false /* createPersistentCookie */);
|
||||
|
Reference in New Issue
Block a user