mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
LoginPage rendered the credentials form for an already-authenticated session, so a direct visit to /login (browsers autocomplete the origin to it) looked like "Remember Me" never worked despite a live token. Read user/loading from the auth context and redirect to / once the auth check settles, gated on the credentials step so the 2FA and OIDC-callback branches keep their own navigation.