Skip to main content Module account_deactivate Copy item path Source use const_str::format as const_format; ๐ use ruma::UserId; ๐ use tuwunel_core::Result ; ๐ use tuwunel_core::info ; ๐ use tuwunel_core::info ; ๐ use tuwunel_core::utils::html::escape as html_escape; ๐ use tuwunel_service::Services ; ๐ use super::ACCOUNT_HEAD; ๐ use super::url_encode ; ๐ CONFIRM_HTML ๐ EXECUTE_HTML ๐ 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.