fix(settings): wire up resend verification email control #161

Merged
David merged 2 commits from fix/BUNYIP-110-resend-verification-email into main 2026-06-17 12:54:19 +02:00
Owner

The Settings Account Information card showed "Not Verified" as a dead-end status with no way to resend the verification email, even though the resend capability existed end-to-end in the API and domain layers (auth_api::request_email_verification) with zero UI callers.

Add a "Resend verification email" button next to the unverified status that POSTs to a new /settings/verify-email/resend route. The handler calls request_email_verification and redirects back to Settings with a success message ("Verification email sent to ") or the surfaced API error. The control renders only when the email is unverified. The domain layer already rate-limits issuance to 3 per hour and rejects already-verified accounts; both conditions surface as the API error message in the UI.

#BUNYIP-110

The Settings Account Information card showed "Not Verified" as a dead-end status with no way to resend the verification email, even though the resend capability existed end-to-end in the API and domain layers (auth_api::request_email_verification) with zero UI callers. Add a "Resend verification email" button next to the unverified status that POSTs to a new /settings/verify-email/resend route. The handler calls request_email_verification and redirects back to Settings with a success message ("Verification email sent to <email>") or the surfaced API error. The control renders only when the email is unverified. The domain layer already rate-limits issuance to 3 per hour and rejects already-verified accounts; both conditions surface as the API error message in the UI. #BUNYIP-110
fix(settings): wire up resend verification email control
All checks were successful
Check / fmt / clippy / build / test (pull_request) Successful in 1m26s
1a32883e0e
The Settings Account Information card showed "Not Verified" as a dead-end status with no way to resend the verification email, even though the resend capability existed end-to-end in the API and domain layers (auth_api::request_email_verification) with zero UI callers.

Add a "Resend verification email" button next to the unverified status that POSTs to a new /settings/verify-email/resend route. The handler calls request_email_verification and redirects back to Settings with a success message ("Verification email sent to <email>") or the surfaced API error. The control renders only when the email is unverified. The domain layer already rate-limits issuance to 3 per hour and rejects already-verified accounts; both conditions surface as the API error message in the UI.

#BUNYIP-110
Merge branch 'main' into fix/BUNYIP-110-resend-verification-email
All checks were successful
Check / fmt / clippy / build / test (pull_request) Successful in 1m16s
Create release / Create release from merged PR (pull_request) Has been skipped
bbc4781c93
David merged commit 6f6aef19df into main 2026-06-17 12:54:19 +02:00
David deleted branch fix/BUNYIP-110-resend-verification-email 2026-06-17 12:54:19 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
psa-systems/bunyip!161
No description provided.