Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Only call legacy sign out
Luke Vella30b64929a346
diff --git a/apps/web/src/app/api/auth/invalid-session/route.ts b/apps/web/src/app/api/auth/invalid-session/route.tsindex d39bbee08..2dcd76831 100644--- a/apps/web/src/app/api/auth/invalid-session/route.ts+++ b/apps/web/src/app/api/auth/invalid-session/route.ts@@ -1,10 +1,10 @@import type { NextRequest } from "next/server";import { NextResponse } from "next/server";-import { signOut } from "@/lib/auth";+import { signOut as legacySignOut } from "@/next-auth";export async function GET(req: NextRequest) {try {- await signOut();+ await legacySignOut();} catch (error) {console.error("FAILED TO SIGN OUT", error);}