mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Users: Making the notification for RequestLostPassword a bit more user-friendly (#7061), fixes #7070
This commit is contained in:
committed by
Benedek Farkas
parent
83ba470cd2
commit
78420a02ac
@@ -196,9 +196,10 @@ namespace Orchard.Users.Controllers {
|
||||
siteUrl = HttpContext.Request.ToRootUrlString();
|
||||
}
|
||||
|
||||
_userService.SendLostPasswordEmail(username, nonce => Url.MakeAbsolute(Url.Action("LostPassword", "Account", new { Area = "Orchard.Users", nonce = nonce }), siteUrl));
|
||||
_userService.SendLostPasswordEmail(username, nonce =>
|
||||
Url.MakeAbsolute(Url.Action("LostPassword", "Account", new { Area = "Orchard.Users", nonce }), siteUrl));
|
||||
|
||||
_orchardServices.Notifier.Information(T("Check your e-mail for the confirmation link."));
|
||||
_orchardServices.Notifier.Information(T("If your username or email is correct, we will send you an email with a link to reset your password."));
|
||||
|
||||
return RedirectToAction("LogOn");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user