chore: reduce minimum password length to 1
Allows users to choose their own password security level instead of enforcing a 12-character minimum. Users are adults.
This commit is contained in:
parent
5d900f082f
commit
0f67fb526a
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ const (
|
|||
BcryptCost = 12
|
||||
|
||||
// MinPasswordLength is the minimum required password length
|
||||
// Set to 12 to match the encryption requirement for config backups
|
||||
MinPasswordLength = 12
|
||||
// Set to 1 to allow users to choose their own password security
|
||||
MinPasswordLength = 1
|
||||
)
|
||||
|
||||
// HashPassword generates a bcrypt hash from a plain text password
|
||||
|
|
|
|||
Loading…
Reference in a new issue