我正在寻找一个类似 after_create_account 的钩子,但用于用户删除账户之后。我们有一个自定义的身份验证插件,它会在创建新账户时将一些信息存储到数据库表中。当用户删除其账户时,我希望能够删除该数据库信息。请问是否有可用于此目的的插件事件?
NotAnonymous
(Doug)
1
pfaffman
(Jay Pfaffman)
2
这就是你要找的内容:
相關主題
| 話題 | 回覆 | 觀看 | 活動 | |
|---|---|---|---|---|
| Delete Discourse AI created accounts | 1 | 119 | 2024年七月28日 | |
| Deleting user - notification if they re-join | 8 | 1589 | 2019年五月1日 | |
| Allow removing account info without content deletion | 16 | 7843 | 2015年三月20日 | |
| Webhooks for user deletion/deactivation? | 3 | 776 | 2018年七月20日 | |
| Self deleting an account with SSO only login does not redirect to `logout redirect` but the auth url causing a loop | 5 | 952 | 2023年七月14日 |