The destructive "Delete account" control plus its OTP-protected confirmation
flow: tap → an irreversible-action confirm sheet → request a code → enter the
code → permanent deletion. A wrong code is shown inline (it does not end the
session). On success it calls onDeleted so the app logs out and redirects.
The destructive "Delete account" control plus its OTP-protected confirmation flow: tap → an irreversible-action confirm sheet → request a code → enter the code → permanent deletion. A wrong code is shown inline (it does not end the session). On success it calls
onDeletedso the app logs out and redirects.