fix: switching null check
This commit is contained in:
@@ -46,7 +46,7 @@ export async function GET(
|
||||
break
|
||||
}
|
||||
const redirectUrl = new URL(redirectUrlValue)
|
||||
if (request.nextUrl.searchParams.get("currentweb") != null) {
|
||||
if (request.nextUrl.searchParams.get("currentweb") == null) {
|
||||
// Request coming from NEW web, redirect to current web logout
|
||||
redirectTo = redirectUrl.toString()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user