Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Maria A Nunez
2022-06-07 16:48:47 -04:00
коммит произвёл GitHub
родитель 159ebc297d
Коммит ab02903f8c

Просмотреть файл

@@ -1385,23 +1385,23 @@ type PasswordSettings struct {
func (s *PasswordSettings) SetDefaults() {
if s.MinimumLength == nil {
s.MinimumLength = NewInt(10)
s.MinimumLength = NewInt(8)
}
if s.Lowercase == nil {
s.Lowercase = NewBool(true)
s.Lowercase = NewBool(false)
}
if s.Number == nil {
s.Number = NewBool(true)
s.Number = NewBool(false)
}
if s.Uppercase == nil {
s.Uppercase = NewBool(true)
s.Uppercase = NewBool(false)
}
if s.Symbol == nil {
s.Symbol = NewBool(true)
s.Symbol = NewBool(false)
}
}