You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PREWAVE-BE-096 — Verify Email Ownership Before Enabling Notification Delivery #797
src/notifications/controllers/preferences.controller.ts contains a TODO to verify an email address before setting it. An authenticated user can currently update the notification email preference without a verification challenge.
Technical scope
Add a time-limited, single-use email ownership challenge with hashed token storage, resend throttling, verified/unverified state, safe address-change handling, and a confirmation endpoint. Do not enable email delivery to a newly supplied address until ownership is proven. Keep email change verification distinct from authentication or account recovery.
Required tests
Valid, expired, replayed, revoked, and malformed token cases.
Activity