fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.42k stars 434 forks source link

fix: redirect from login page if authenticated #1498

Closed pedrolamas closed 2 months ago

pedrolamas commented 2 months ago

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