chore(auth): allow six-byte internal passwords

This commit is contained in:
QiuSW
2026-07-27 15:02:44 +08:00
parent 4533df7abc
commit 2bed09eccd
7 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func TestRunRejectsWeakPasswordAndInvalidCommands(t *testing.T) {
databasePath := migratedDatabase(t)
err := run(
[]string{"create-user", "BUYER", "buyer"},
testLookup(databasePath, "too-short"),
testLookup(databasePath, "short"),
&bytes.Buffer{},
)
if err == nil || err.Error() != "authentication input is invalid" {