MindfulStudio / frontend

A mental health application for tracking and analyzing emotional states in depth
https://gemischtegefuehle-app.onrender.com/
Other
4 stars 2 forks source link

fix/ErrorPage: add link functionality to return button #272

Closed hannahnier closed 1 month ago

hannahnier commented 1 month ago

I have added a link that sends all users to home (from where authenticated users will then directly be forwarded to dashboard). I find this more consistent than forcing everybody to login again because those logged-in users still possess the authentication cookie so we do already know their identity and might as well treat them accordingly.

nadjascodejourney commented 1 month ago

I have added a link that sends all users to home (from where authenticated users will then directly be forwarded to dashboard). I find this more consistent than forcing everybody to login again because those logged-in users still possess the authentication cookie so we do already know their identity and might as well treat them accordingly.

Thank you! I wasn´t quite sure, if they still have the auth-cookie, but as this seems to be the case, your solution sounds very straight forward and I totally agree 👍🏼