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
In case you want a solution now
There are two ways
1- add render prop to Route and redirect user to" / " if isAuth return True otherwise return Login component -- cons You will lose the ability to redirect User did not sign and try to access the dashboard login/?next="dashboard"
2 - just connect Login Page and check if isAuth false or true Accordingly, display the page or only pushed to /
the login page should route to the dashboard or root if already authenticated.
The text was updated successfully, but these errors were encountered: