Hey there,
I am totally new so please bare with me.
I set up my app and an individual User-Settings-Page for any individual logged-in user to change the email, password and stuff in his account. So far so good.
Now I want to let the user be able to delete his own account.
I made it a two step procedure with an popup and then deleting the user from the database, logging him of and so on.
But I want the user to input his current password to confirm this procedure.
So I made a password input field but on the workflow side I couldn’t find anything to check if the input matches the password. This could be only done if I would update the users credentials, but i couldn`t find a way for deleting the whole account.
Would love to hear if this is possible, I mean I can imagine a lot of szenarios where the user should validate himself even if he is already logged in, so there must be a way, right?
Thanks in advance