Open proflan opened 3 years ago
I'm not sure if I would prevent that. If I want to login with another user I think it is fine. Or if I want to register with a new user its also fine without the need to logout. Still if you want to avoid it you add a request listener to redirect to whatever route you want somebody to be redirect when being logged in.
Actual Behavior
Logged In Users can access Login Page an Registration Page
Expected Behavior
Logged in Users should be redirected when they try to access login or registration pages