I’m looking for something like after_create_account, but for after a user deletes their account. We have a custom authentication plugin that stores some information in a database table on a new account creation. When they delete their account I want it to then delete that database info. Is there an event I can use in a plugin for this purpose?
NotAnonymous
(Doug)
1
pfaffman
(Jay Pfaffman)
2
Here’s what you’re looking for:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Delete Discourse AI created accounts | 1 | 97 | July 28, 2024 | |
| Deleting user - notification if they re-join | 10 | 1490 | January 18, 2023 | |
| Allow removing account info without content deletion | 16 | 7723 | March 20, 2015 | |
| Webhooks for user deletion/deactivation? | 4 | 717 | July 24, 2018 | |
| Self deleting an account with SSO only login does not redirect to `logout redirect` but the auth url causing a loop | 6 | 888 | July 17, 2023 |