Block banned users from verifying email #986

Merged
jimmyb merged 1 commit from codex/issue-985-block-banned-email-verification into master 2026-10-19 10:35:48 -05:00
Member

Block banned accounts from activating their email through a surviving authenticated session.

Bind an application verification request to Fortify and reject both the ban flag and banned role before retaining Fortify's account and email-hash authorization checks. Denied attempts return 403 without verifying the email or dispatching Verified.

Verification: 43 authentication, registration, and email-verification tests passed (217 assertions); Pint, PHPStan, and git diff --check passed. Coverage includes all three ban-marker combinations, valid activation, invalid hashes, mismatched accounts, expired/tampered links, and guest access.

Fixes #985

Block banned accounts from activating their email through a surviving authenticated session. Bind an application verification request to Fortify and reject both the ban flag and banned role before retaining Fortify's account and email-hash authorization checks. Denied attempts return 403 without verifying the email or dispatching `Verified`. Verification: 43 authentication, registration, and email-verification tests passed (217 assertions); Pint, PHPStan, and `git diff --check` passed. Coverage includes all three ban-marker combinations, valid activation, invalid hashes, mismatched accounts, expired/tampered links, and guest access. Fixes #985
Block banned users from verifying email
All checks were successful
linter / quality (pull_request) Successful in 4m22s
tests / ci (pull_request) Successful in 12m30s
6ba1f6047a
jimmyb merged commit d2d51d017c into master 2026-10-19 10:35:48 -05:00
jimmyb deleted branch codex/issue-985-block-banned-email-verification 2026-10-19 10:35:48 -05:00
Sign in to join this conversation.
No reviewers
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
MyVideoGameList/myvideogamelist.com!986
No description provided.