update the error message.
This commit is contained in:
parent
ce51262197
commit
3565185808
|
@ -136,7 +136,7 @@
|
|||
<value>Please Enter All Required Fields. Ensure Passwords Match And Email Address Provided Is Valid.</value>
|
||||
</data>
|
||||
<data name="Message.Password.Invalid" xml:space="preserve">
|
||||
<value>The Password Provided Does Not Meet The Complexity Policy For Below Reasons:</value>
|
||||
<value>The Password Provided Does Not Meet The Complexity Policy. Passwords Must Be At Least 6 Characters In Length And Contain Uppercase, Lowercase, Numeric, And Punctuation Characters.</value>
|
||||
</data>
|
||||
<data name="Register" xml:space="preserve">
|
||||
<value>Please Register Me For Major Product Updates And Security Bulletins</value>
|
||||
|
|
|
@ -559,13 +559,6 @@ namespace Oqtane.Managers
|
|||
{
|
||||
validateResult.Succeeded = false;
|
||||
validateResult.Errors.Add("Message.Password.Invalid", string.Empty);
|
||||
if (passwordResult.Errors != null)
|
||||
{
|
||||
foreach (var error in passwordResult.Errors)
|
||||
{
|
||||
validateResult.Errors.Add(error.Code, error.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return validateResult;
|
||||
|
|
Loading…
Reference in New Issue
Block a user