diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/app/(auth)/login/page.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/app/(auth)/login/page.tsx b/apps/web/src/app/(auth)/login/page.tsx index 73c34e1e..755784fa 100644 --- a/apps/web/src/app/(auth)/login/page.tsx +++ b/apps/web/src/app/(auth)/login/page.tsx @@ -52,8 +52,8 @@ function LoginForm() { try { await signIn.social({ provider: "google", + callbackURL: "/editor", }); - router.push("/editor"); } catch (error) { setError("Failed to sign in with Google. Please try again."); setIsGoogleLoading(false); |
