Accept existing passwords at sign-in without applying the registration minimum #621

Closed
unimatrix wants to merge 0 commits from fix/existing-password-sign-in-20261129 into main
Owner

An existing nine-character password was blocked before submission by Citizen Passport, and the shared API applied the same twelve-character new-password rule to login. Accept nonempty existing passwords up to256characters at login, verify their stored hashes unchanged, and keep twelve characters for registration and password changes. Correct both CP and public form mode switches. No account/password/role/session records reset or edited.

Validation: ten targeted checks passed, including actual seeded shorter-password authentication on both host origins, wrong/empty/oversized password rejection, unchanged hashes/roles, short-new-password rejection and form-script mode/submission behavior. Local build passed with2534assets. Full canonical CI and main-only live publication follow. Incident notes: website/docs/EXISTING-PASSWORD-SIGNIN-20261129.md.

An existing nine-character password was blocked before submission by Citizen Passport, and the shared API applied the same twelve-character new-password rule to login. Accept nonempty existing passwords up to256characters at login, verify their stored hashes unchanged, and keep twelve characters for registration and password changes. Correct both CP and public form mode switches. No account/password/role/session records reset or edited. Validation: ten targeted checks passed, including actual seeded shorter-password authentication on both host origins, wrong/empty/oversized password rejection, unchanged hashes/roles, short-new-password rejection and form-script mode/submission behavior. Local build passed with2534assets. Full canonical CI and main-only live publication follow. Incident notes: website/docs/EXISTING-PASSWORD-SIGNIN-20261129.md.
unimatrix closed this pull request 2026-11-29 07:29:26 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
status/accepted
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
unimatrix/web!621
No description provided.