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:
rcourtman 2025-12-13 21:29:00 +00:00
parent 5d900f082f
commit 0f67fb526a

View file

@ -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