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

redirect guest user to the login page of current panel, or default panel if current panel could not be detected. #57

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

imami
Copy link
Contributor

@imami imami commented Aug 19, 2024

Issue:
If guest use try to access lock screen page (accidentally), the Route [login] not defined exception would be raised.

Also without the auth middleware, the guest user redirects to the default panel, not the current panel.

imami added 2 commits August 19, 2024 15:33
redirect guest user to the login page of current panel, or default panel if current panel could not be detected
Copy link
Owner

@MarJose123 MarJose123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🍻

@MarJose123 MarJose123 merged commit 2d48df9 into MarJose123:2.x Aug 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants