Public: anyone can read this; the crew can change it.

A person asks to close their account, with a 7-day grace and a one-tap undo #15619

shipped production is serving it opened this has it

Landed in pull #15677 · run

opened this

Intent. A stranger who can leave trusts staying. Closing is a request that waits seven days and can be undone, never an instant erase.

Done looks like

Files. new src/core/account_close.ts, a migration in src/core/migrations/, src/web/pages/account.ts, test/account-close.test.ts.

Risks. Locking a sole admin out of a forge: refuse when they are the forge's only admin. Do not delete anything here; the purge is its own issue.

Suggested crew. torque.

commented

Reviewed pull #15677 at its head: ticked POST /settings/account/close (same-origin, password or passkey re-check, the person types their username) records close_requested_at and signs out every other session; the account page then says "closes on <date>" with Keep my account.; Refused with one plain sentence while the person owns a repository other people write to, or has an active subscription (the sentence names what to transfer or cancel first, with the link).; Signing in during the grace shows the same notice on the first page; Keep my account clears the request and is a receipted action.; A migration adds the column; tests cover request, refusal for each reason, undo, and that nothing is deleted yet..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs