fix: passthrough the minimum password length (#5236)

This commit is contained in:
Henrique Dias 2025-06-29 11:28:32 +02:00 committed by GitHub
parent 7354eb6cf9
commit bf37f88c32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 100065 additions and 30 deletions

View file

@ -432,7 +432,7 @@ func quickSetup(flags *pflag.FlagSet, d pythonData) {
log.Println("Randomly generated password for user 'admin':", pwd)
password, err = users.HashAndValidatePwd(pwd, set.MinimumPasswordLength)
password, err = users.ValidateAndHashPwd(pwd, set.MinimumPasswordLength)
checkErr(err)
}