Skip to content

Commit 44b3272

Browse files
committed
follow redirect on login success
1 parent 997ee81 commit 44b3272

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/web/app/(org)/verify-otp/form.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export function VerifyOTPForm({
7878
// shoutout https://github.com/buoyad/Tally/pull/14
7979
const res = await fetch(
8080
`/api/auth/callback/email?email=${encodeURIComponent(email)}&token=${encodeURIComponent(otpCode)}&callbackUrl=${encodeURIComponent("/login-success")}`,
81-
{ redirect: "manual" },
8281
);
8382

8483
if (!res.url.includes("/login-success")) {

0 commit comments

Comments
 (0)