Confirms an email change requested while the account was still
unconfirmed — the "Wrong email? Change it" flow on the parked
/users/confirm page.
Lives on the same ungated public surface as PhoenixKitWeb.Users.Confirmation,
and for the same reason /users/confirm itself does: the normal change-email
landing page, /profile/settings/confirm-email/:token, sits behind the
authenticated-AND-confirmed live_session — gating it would put the fix for
"I'm unconfirmed" behind a requirement of already being confirmed.
Auth.update_user_email/2 needs the account's CURRENT (pre-change) email to
rebuild the token's context, so the visitor must still be logged in as that
account; not logged in bounces to log-in with a return_to back here. A
click, not an auto-consume on GET, so an email-scanning bot in the inbox
can't spend the token before the person does — same defense
PhoenixKitWeb.Users.Confirmation uses for the account-confirmation link.
Summary
Functions
Callback implementation for Phoenix.LiveView.handle_event/3.
Callback implementation for Phoenix.LiveView.mount/3.
Callback implementation for Phoenix.LiveView.render/1.
Functions
Callback implementation for Phoenix.LiveView.handle_event/3.
Callback implementation for Phoenix.LiveView.mount/3.
Callback implementation for Phoenix.LiveView.render/1.