sulu / SuluCommunityBundle

Community features like Login, Registration, Password forget/reset for your sulu application.
MIT License
30 stars 39 forks source link

Logged Users can access Login and registration Form #145

Open proflan opened 3 years ago

proflan commented 3 years ago
Q A
Bug? no
New Feature? no
Community Bundle Version Specific version or SHA of commit
Sulu Version Specific version or SHA of a commit
Browser Version Browser name and version

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

alexander-schranz commented 2 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.