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

fix: redirect from login page if authenticated #1498

Merged

Conversation

pedrolamas
Copy link
Member

Moonraker provides an authentication feature but has no authorization concept, so when users are authorized as an trusted (anonymous) user, there is no point showing the login page, and thus safe to redirect to main page, which is what this PR fixes.

Fixes #1497

@pedrolamas pedrolamas added the GH - Bug Something isn't working label Sep 24, 2024
@pedrolamas pedrolamas added this to the 1.30.5 milestone Sep 24, 2024
@pedrolamas pedrolamas merged commit 988daa0 into fluidd-core:develop Sep 24, 2024
4 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/auth-login-redirect branch September 24, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/#/login page creates confusion when user is trusted / authorized
1 participant