fix(settings): wire up resend verification email control #161
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-110-resend-verification-email"
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?
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