Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

follow redirect on login success

Brendan Allan44b3272378d0
diff --git a/apps/web/app/(org)/verify-otp/form.tsx b/apps/web/app/(org)/verify-otp/form.tsx
index e40cdf902..f2effe76c 100644
--- a/apps/web/app/(org)/verify-otp/form.tsx
+++ b/apps/web/app/(org)/verify-otp/form.tsx
@@ -78,7 +78,6 @@ export function VerifyOTPForm({
// shoutout https://github.com/buoyad/Tally/pull/14
const res = await fetch(
`/api/auth/callback/email?email=${encodeURIComponent(email)}&token=${encodeURIComponent(otpCode)}&callbackUrl=${encodeURIComponent("/login-success")}`,
- { redirect: "manual" },
);
if (!res.url.includes("/login-success")) {