[loggi-yxq] Add password minimum-length validation #122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bead ID:
loggi-yxqType: task
Priority: P2
Status: closed
Close reason: Added MIN_PASSWORD_LENGTH=8 check in auth.py register endpoint, minlength=8 HTML attribute on register form, new test_register_password_too_short test, updated all test fixtures to use >=8 char passwords.
auth.py accepts any non-empty password during registration. A single-character password is valid. Add a minimum length check (e.g. 8 chars) in the register endpoint + matching HTML minlength attribute on the form. Also add a test.