Skip to content

Accounts soft-deletion #139

Answered by janko
renchap asked this question in Q&A
Aug 3, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @renchap, Rodauth's close_account feature has soft-deletion already built in, and it's the default behaviour when the user closes their account (hard-deletion can be enabled by setting delete_account_on_close? to true). It works by updating account.status column to "closed", and that's handled by all other authentication features. Closing the account will delete all associated account_* table data, but other application data would remain intact.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@renchap
Comment options

Answer selected by renchap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants