fix(keystone): password history check default 1 (#22410)

This commit is contained in:
屈轩
2025-04-14 15:27:27 +08:00
committed by GitHub
parent 3bff930818
commit 21ea7ff3db
+1 -1
View File
@@ -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"`
PasswordUniqueHistoryCheck int `help:"password must be unique in last N passwords" default:"1"`
PasswordCharComplexity int `help:"password complexity policy" default:"0"`
PasswordErrorLockCount int `help:"lock user account if given number of failed auth"`