From 0f67fb526ac77ca6849144f269358e7c061eff67 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sat, 13 Dec 2025 21:29:00 +0000 Subject: [PATCH] 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. --- internal/auth/password.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/auth/password.go b/internal/auth/password.go index b40b4ad..585798e 100644 --- a/internal/auth/password.go +++ b/internal/auth/password.go @@ -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