mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19195: Updating error to be consistant in account controller
Work Item: 19195 --HG-- branch : 1.x
This commit is contained in:
@@ -184,7 +184,7 @@ namespace Orchard.Users.Controllers {
|
||||
}
|
||||
|
||||
if(String.IsNullOrWhiteSpace(username)){
|
||||
_orchardServices.Notifier.Error(T("Invalid username or E-mail"));
|
||||
ModelState.AddModelError("userNameOrEmail", T("Invalid username or E-mail."));
|
||||
return View();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user