whisper-money/app
Víctor Falcón 370d388d99
feat: Enable email verification on sign up (#97)
## Summary
- Enables `MustVerifyEmail` on the `User` model so new users must verify
their email before accessing protected routes
- Unverified users are redirected to `/email/verify` when attempting to
access routes behind the `verified` middleware (subscribe, onboarding,
dashboard)
- A verification email is automatically sent on registration via Fortify

## Screenshot

![Email verification
page](https://raw.githubusercontent.com/whisper-money/whisper-money/mail-verification/storage/videos/email-verification-page.png)

## Video


https://github.com/whisper-money/whisper-money/raw/mail-verification/storage/videos/ac0945c527f014b9cd657f18c911f496.webm

## Test plan
- [x] New test: registration sends a `VerifyEmail` notification
- [x] New test: newly registered users have `email_verified_at` as null
- [x] New test: unverified users are redirected to `verification.notice`
from protected routes (subscribe, onboarding, dashboard)
- [x] New test: verified users are not redirected to verification notice
- [x] Existing email verification and notification tests still pass (31
auth tests, 52 settings tests)
- [x] Browser walkthrough: registration → redirected to `/email/verify`
page with "Resend verification email" button
2026-02-03 10:15:07 +01:00
..
Actions Add category type field support (#2) 2025-12-01 20:19:47 +01:00
Console/Commands fix: Budget period not found on last day of period (#91) 2026-02-01 11:33:10 +01:00
Enums Add Budgeting Feature to Track and Manage Spending (#36) 2026-01-21 15:25:50 +01:00
Events Add Budgeting Feature to Track and Manage Spending (#36) 2026-01-21 15:25:50 +01:00
Http feat: Add previous period comparison to budget chart (#93) 2026-02-01 14:21:13 +01:00
Jobs feat: Load transactions history on budget created (#72) 2026-01-22 11:10:15 +01:00
Listeners feat: Sync new users to Resend contacts (#85) 2026-01-28 21:25:58 +01:00
Mail feat: New discord offer 2026-01-10 10:27:32 +01:00
Models feat: Enable email verification on sign up (#97) 2026-02-03 10:15:07 +01:00
Notifications feat: Enable email verification on sign up (#97) 2026-02-03 10:15:07 +01:00
Policies Add Budgeting Feature to Track and Manage Spending (#36) 2026-01-21 15:25:50 +01:00
Providers feat: Release budgets feature to all users (#84) 2026-01-28 09:56:52 +01:00
Services feat: Sync new users to Resend contacts (#85) 2026-01-28 21:25:58 +01:00