Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logged Users can access Login and registration Form #145

Open
proflan opened this issue Nov 9, 2021 · 1 comment
Open

Logged Users can access Login and registration Form #145

proflan opened this issue Nov 9, 2021 · 1 comment

Comments

@proflan
Copy link

proflan commented Nov 9, 2021

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants