Skip to content

Commit

Permalink
Back out unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
aovens-quantifi committed Mar 16, 2023
1 parent 215130d commit 5300131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/auth0-session/session/stateful-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ export class StatefulSession<
if (!sessionId) {
sessionId = await genId!(req);
debug('generated new session id %o', sessionId);
const cookieValue = await generateCookieValue(sessionName, sessionId, keys[0]);
cookieSetter.set(sessionName, cookieValue, cookieOptions);
cookieSetter.commit(res);
}
debug('set session %o', sessionId);
const cookieValue = await generateCookieValue(sessionName, sessionId, keys[0]);
cookieSetter.set(sessionName, cookieValue, cookieOptions);
cookieSetter.commit(res);
await this.store.set(sessionId, {
header: { iat, uat, exp },
data: session
Expand Down

0 comments on commit 5300131

Please sign in to comment.