GTBitsOfGood / canine-assistants

Educating the Dogs Who Change the World
https://dev--canine-assistants.netlify.app
MIT License
4 stars 0 forks source link

[FE] If a user is authenticated redirect from `/login` #217

Closed afazio1 closed 2 months ago

afazio1 commented 3 months ago

Description

If a user is logged in and they navigate to /login or /signup, redirect them to /dogs. You can check if a user is authenticated on /login and /signup page, then route accordingly.

Use the session manager utility function.