You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to let user delete his account. The deletion seems to be working, but as long as he is logged in his name is still displayed and the logout button is showing. If logged out everything works fine. I suspect there is some sort of leftover token, but I couldn't find a way to use signInManager from inside the component to log user out, nor send the POST request to logout page. Can somebody give me an example of how to do it correctly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to let user delete his account. The deletion seems to be working, but as long as he is logged in his name is still displayed and the logout button is showing. If logged out everything works fine. I suspect there is some sort of leftover token, but I couldn't find a way to use signInManager from inside the component to log user out, nor send the POST request to logout page. Can somebody give me an example of how to do it correctly?
Beta Was this translation helpful? Give feedback.
All reactions