mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
Update validate.go
This commit is contained in:
parent
35611c476f
commit
e0a3bfd2cd
|
|
@ -86,7 +86,7 @@ func ValidatePassword(password string, config PasswordConfig) error {
|
|||
}
|
||||
|
||||
if config.RequireUppercase && !hasUppercase {
|
||||
return ErrPasswordWeak
|
||||
return ErrPasswordWeak
|
||||
}
|
||||
if config.RequireLowercase && !hasLowercase {
|
||||
return ErrPasswordWeak
|
||||
|
|
|
|||
Loading…
Reference in a new issue