mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix: disable password history unique check by default (#23435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -40,7 +40,7 @@ type SKeystoneOptions struct {
|
||||
|
||||
PasswordExpirationSeconds int `help:"password expires after the duration in seconds"`
|
||||
PasswordMinimalLength int `help:"password minimal length" default:"6"`
|
||||
PasswordUniqueHistoryCheck int `help:"password must be unique in last N passwords" default:"1"`
|
||||
PasswordUniqueHistoryCheck int `help:"password must be unique in last N passwords, default is 0 means no check" default:"0"`
|
||||
PasswordCharComplexity int `help:"password complexity policy" default:"0"`
|
||||
|
||||
PasswordErrorLockCount int `help:"lock user account if given number of failed auth"`
|
||||
|
||||
Reference in New Issue
Block a user