diff --git a/src/modules/login/LoginCallback.tsx b/src/modules/login/LoginCallback.tsx index 9925f2e..5b0bded 100644 --- a/src/modules/login/LoginCallback.tsx +++ b/src/modules/login/LoginCallback.tsx @@ -14,7 +14,7 @@ export function LoginCallback(_: LoginCallbackProps) { const { logIn } = useAuth(); useEffect(() => { - if (params) { + if (params.length > 2) { const res = logIn(params); // @ts-ignore if (res.ok) {