The profile page changes the user's e-mail address, a confirmation page applies the link, and the identity settings page has the confirmation switch #68

Closed
opened 2026-10-31 12:42:00 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-58
  • Priority: medium
  • Agent: console-coder
  • Depends on: #67
  • Decisions: Q-BUG-13, Q-BUG-15, R2-EMAIL-SIGNOUT

Why

See #63.

What changes

  • src/angular/src/app/features/account/profile/: a "Change e-mail" form (new address, current password). Before submit it says, from emailChangeRequiresConfirmation, whether a link will be sent or the change applies at once, and that the change signs out every session. After a 202 it shows "check the inbox of "; after a 200 it signs out with a message, as the password change does.
  • A new anonymous route /confirm-email-change (beside the reset-password page) that reads userId, email and token from the query, posts them, and shows success with a link to sign in (every session has ended), or the error.
  • src/angular/src/app/features/settings/identity-settings/: a "Require e-mail confirmation" switch (on by default) with a one-line explanation; read-only without the write permission.
  • Specs for each.

Acceptance

  • Specs, red first: the form posts newEmail and currentPassword; a 202 shows the inbox message; a 200 signs out; the confirmation page posts the query values; the switch patches requireEmailChangeConfirmation.
  • Lint, format, test and build clean; smoke harness covers the profile page and the confirmation page with an invalid token.

Source

#63.

- **Draft:** BUG-58 - **Priority:** medium - **Agent:** console-coder - **Depends on:** #67 - **Decisions:** Q-BUG-13, Q-BUG-15, R2-EMAIL-SIGNOUT ### Why See #63. ### What changes - `src/angular/src/app/features/account/profile/`: a "Change e-mail" form (new address, current password). Before submit it says, from `emailChangeRequiresConfirmation`, whether a link will be sent or the change applies at once, and that the change signs out every session. After a 202 it shows "check the inbox of <address>"; after a 200 it signs out with a message, as the password change does. - A new anonymous route `/confirm-email-change` (beside the reset-password page) that reads `userId`, `email` and `token` from the query, posts them, and shows success with a link to sign in (every session has ended), or the error. - `src/angular/src/app/features/settings/identity-settings/`: a "Require e-mail confirmation" switch (on by default) with a one-line explanation; read-only without the write permission. - Specs for each. ### Acceptance - [ ] Specs, red first: the form posts `newEmail` and `currentPassword`; a 202 shows the inbox message; a 200 signs out; the confirmation page posts the query values; the switch patches `requireEmailChangeConfirmation`. - [ ] Lint, format, test and build clean; smoke harness covers the profile page and the confirmation page with an invalid token. ### Source #63.
Sign in to join this conversation.
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.

Reference
lantea-one/ninlil#68
No description provided.