1
0
forked from baron/baron-sso

Align RP auto login launch behavior

This commit is contained in:
2026-04-30 16:36:40 +09:00
parent 28a440734c
commit d16f6cdcb4
7 changed files with 76 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ function LoginPage() {
const [searchParams] = useSearchParams();
const autoStartedRef = useRef(false);
const returnTo = searchParams.get("returnTo") || "/chart";
const shouldAutoLogin = searchParams.get("auto") === "1";
const shouldAutoLogin = searchParams.get("auto") !== "0";
useEffect(() => {
if (auth.isAuthenticated) {