1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 04:14:29 +00:00

Add cookie domain debug logs

To help debug login issues.
This commit is contained in:
Asher 2020-08-04 15:01:18 -05:00
parent 7d02f34f71
commit de568d446b
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -868,6 +868,7 @@ export class HttpServer {
// isn't setting the host header to match the access domain.
host === "localhost"
) {
logger.debug("no valid cookie doman", field("host", host))
return undefined
}
@ -877,6 +878,7 @@ export class HttpServer {
}
})
logger.debug("got cookie doman", field("host", host))
return host ? `Domain=${host}` : undefined
}