Skip to content
Dev preview: wireframe with sample data. Browse all pages in the sitemap →Styleguide
Need help? Request a call

Open the link in your email

To undo an email change, use the link we sent to your old address when the change was made. It brings you back here ready to go.

Not sure the change was yours? Reset your password.

Page spec (sitemap features for /signin/email-revert/)

Path: /signin/email-revert/ · Status: spec · Sitemap

Undo an email change from the link sent to the old address.

Features

  • form:undo
    • text:Undoing signs you out everywhere and forgets trusted devices
    • button:Undo the change
  • text:Link expired or used; address now used by another account (own states)
  • link:Choose a new password

Notes

  • Public page; the link token is the credential. POST /api/v1/public/email/revert {token} (JSON): 200 restores the old address, ends every session and forgets trusted devices; 410 link_expired and 409 email_in_use have their own states. With the account area on sample data the page posts to ?done=1 and changes nothing.

States on this page

Proposed decisions on this page

Design notes

  • The undo link in the notice to the OLD address brings the token (?token=). It works once and lasts 14 days; earlier undo links stay valid (docs/customer-auth.md). Without it there is nothing to undo, so the page says so.
  • Undo posts {token} as JSON to /api/v1/public/email/revert (no sign-in needed; the link is the credential). 200 restores the old address, ends every session, forgets trusted devices and mails the old address a notice; the page then says so and points to a password reset (the API's next is /signin/forgot/).
  • 410 link_expired (used, expired or unknown link) and 409 email_in_use (someone else now has the old address) each replace the form with their own state; the second offers Request a call (/request-a-call/, the same way to a person as the error pages, D56). There is no public support email, so none is shown.
  • The wireframe (account area on sample data) posts to ?done=1 and shows the sample success state; nothing is changed. The two error states need the token as well: ?token=sample-revert-token&state=expired or &state=inuse (?state= alone, without a token, shows the no-token page).