We are building a web app, and realized through some testing that users could easily delete their own user account by being logged in, in the browser, and running the command 'await app.deleteUser(app.curentuser); ’
This immediately deletes the current user from app users in Realm. how can I block or prevent this? Our app is membership based, and ties into recurring billing, and we do not want the users to be able to self-delete the user record if at all possible.
Thanks in advance