Enforce Password Requirements on DevMode (#20378)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c01fc923f5
Коммит
fe23501d40
@@ -39,10 +39,6 @@ func ComparePassword(hash string, password string) error {
|
||||
|
||||
func (us *UserService) isPasswordValid(password string) error {
|
||||
|
||||
if *us.config().ServiceSettings.EnableDeveloper {
|
||||
return nil
|
||||
}
|
||||
|
||||
return IsPasswordValidWithSettings(password, &us.config().PasswordSettings)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user