Skip to main content

Module account_deactivate

Module account_deactivate 

Source

Staticsยง

CONFIRM_HTML ๐Ÿ”’
EXECUTE_HTML ๐Ÿ”’

Functionsยง

account_deactivate_confirm_html ๐Ÿ”’
Shows a POST confirmation form for account deactivation. The login_token is peeked (not consumed) by the GET handler and embedded here; submitting the form consumes it, re-authenticating this destructive action.
account_deactivate_execute_html ๐Ÿ”’
Executes the account deactivation, signing out every session and blocking future logins. Called only from the POST handler once the token is consumed.