chore: remove invalidateSession
This commit is contained in:
@@ -40,8 +40,6 @@ export async function GET(request: NextRequest) {
|
||||
|
||||
try {
|
||||
// Initiate the seamless logout flow
|
||||
const invalidateResponse = await serverClient().user.invalidateSessions()
|
||||
|
||||
const redirectUrl = new URL(env.SEAMLESS_LOGOUT)
|
||||
redirectUrl.searchParams.set("returnurl", redirectTo)
|
||||
redirectTo = redirectUrl.toString()
|
||||
|
||||
Reference in New Issue
Block a user