fix: passthrough the minimum password length (#5236)
This commit is contained in:
1 parent
7354eb6cf9
commit
bf37f88c32
11 files changed
+100065
-30
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ options you want to change.`,
|
||||
}
|
||||
|
||||
if password != "" {
|
||||
user.Password, err = users.HashAndValidatePwd(password, s.MinimumPasswordLength)
|
||||
user.Password, err = users.ValidateAndHashPwd(password, s.MinimumPasswordLength)
|
||||
checkErr(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user