mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
fix: correctly assert protocol
This commit is contained in:
@@ -88,7 +88,7 @@ export function assertConfig(
|
||||
}
|
||||
|
||||
const { callbackUrl: defaultCallbackUrl } = defaultCookies(
|
||||
options.useSecureCookies ?? url.protocol === "https://"
|
||||
options.useSecureCookies ?? url.protocol === "https:"
|
||||
)
|
||||
const callbackUrlCookie =
|
||||
request.cookies?.[
|
||||
|
||||
Reference in New Issue
Block a user