kohdataan / kohdataan-frontend

Somettamalla uutta kohtaamista -frontend
https://kohdataan.fi/
4 stars 1 forks source link

Fix account deletion flow to use same logout function that is used el… #401

Closed Pninja closed 4 years ago

Pninja commented 4 years ago

Changed both initial delete user and handleDeleteUserNow functions to utilise the same logout function that is used elsewhere. Also changed the handleDeleteUserNow order a little bit. I think now this should work, since both node user and mattermost user are actually logged out when deleting the user (either first time or permanently).

Pninja commented 4 years ago

Now it works beautifully, great! There were a few other changes (like font color and some added labels) in my pr. Should I add them here?

Hmm maybe that's the easiest way to add those here! Thanks! 🤗