How to prevent users from deleting their accounts directly.

This is a quick way to show you how to disable the option for users to delete their accounts directly and instead request account deletion by the admin.

The current behavior is that a user can go to their profile on the mobile app, and find the ‘delete account’ button. 

Screenshot 2024 05 07 16 35 23 217 com ionic enginehire jpg 1 EngineHire

Once pressed, the user will see the following page on which they will be a confirmation button:

Screenshot 2024 05 07 16 37 13 435 com ionic enginehire jpg EngineHire

 

Once the user presses the button a popup will appear asking them to confirm their account deletion.

Screenshot 2024 05 07 16 37 19 746 com ionic enginehire jpg EngineHire

 

And immediately after, the user will receive confirmation of their account being deleted.

Screenshot 2024 05 07 16 37 25 350 com ionic enginehire jpg EngineHire

 

We can not hide the ‘Delete account’ option; as it is something that the app stores require. However, with the setting “Don’t allow users to delete their accounts directly,” users won’t be able to delete their accounts directly but instead request the deletion. Only admins can delete user accounts with this setting on.

 

To enable that setting, go to your dashboard mission control, More, Settings and then Global Settings.

Screenshot%202024 05 07%20at%204 46 32%E2%80%AFPM png EngineHire 

Go to Dashboard, then Admin View Settings.

Screenshot%202024 05 07%20at%204 46 37%E2%80%AFPM png EngineHire

 

Scroll down until you find the option “Don’t allow users to delete their accounts directly”. 

Screenshot%202024 05 07%20at%204 36 12%E2%80%AFPM png EngineHire

Enable this option and save.

 

Then when a user presses the ‘Delete account’ button, they will be redirected to fill an account deletion form.

Screenshot 2024 05 07 16 36 42 844 com android chrome jpg EngineHire

 

 

Scroll to Top