fix(backend): 🐛 update cookie name of session store to use new secure prefix
This commit is contained in:
parent
8feb5b71f1
commit
d433c11035
|
@ -47,7 +47,7 @@ export class SessionStore {
|
|||
}
|
||||
|
||||
static getFromRequest(request: Request): Session | undefined {
|
||||
const sessionId = getCookies(request.headers)['_SESSION'] ?? ''
|
||||
const sessionId = getCookies(request.headers)['__Secure-SESSION'] ?? ''
|
||||
return this.getSession(sessionId)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue