Skip to content

Commit

Permalink
Fix wrong message
Browse files Browse the repository at this point in the history
  • Loading branch information
furkanevran committed Dec 30, 2024
1 parent 87f3678 commit f8ba12d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public virtual void Validate(string password)

if (rules.RequireLowercase && lowerCount == 0)
throw new ValidationError(nameof(rules.RequireLowercase), "Password",
PasswordStrengthValidationTexts.PasswordStrengthRequireUppercase.ToString(localizer));
PasswordStrengthValidationTexts.PasswordStrengthRequireLowercase.ToString(localizer));

if (rules.RequireDigit && numericCount == 0)
throw new ValidationError(nameof(rules.RequireDigit), "Password",
Expand Down

0 comments on commit f8ba12d

Please sign in to comment.