Closed afazio1 closed 2 months ago
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.
/login
/signup
/dogs
Use the session manager utility function.
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.