Repository navigation
|
Hi, because I don't have any clue on how to delete account through EmailAuthController API calls, I tried to delete an account line directly in the database table "serverpod_user_info". However, after doing so, I cannot create another account using the same email address, and the error is about some duplicated ID. Could anyone tell me how to completely delete a registered account through EmailAuthController()? |
Replies: 4 comments 9 replies
|
There are some more table rows that you will need to also delete for the user, |
|
Does anyone have any dart code that safely removes a user from these tables while we wait for an API? |
|
@BenAuerDev also delete user's auto generated image (if enabled) |
|
Hi, Has a built-in user-deletion API Ianded in the meantime? Thanks |
There are some more table rows that you will need to also delete for the user,
serverpod_email_auth,serverpod_email_create_request,serverpod_email_failed_sign_in,serverpod_email_reset, andserverpod_auth_key. We should probably add a method in theUsersclass of the auth module to handle this.