projects
/
squeep-authentication-module
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681ff60
)
fix un-awaited cookie setting
author
Justin Wind
<justin.wind+git@gmail.com>
Sat, 10 Jun 2023 18:48:35 +0000
(11:48 -0700)
committer
Justin Wind
<justin.wind+git@gmail.com>
Sat, 10 Jun 2023 18:48:35 +0000
(11:48 -0700)
lib/session-manager.js
patch
|
blob
|
history
diff --git
a/lib/session-manager.js
b/lib/session-manager.js
index cb4c7126ec54cffc18b1856270cd1112f5c60182..43990cc376e4ee8b16a35092c2bf81620b3a1b9a 100644
(file)
--- a/
lib/session-manager.js
+++ b/
lib/session-manager.js
@@
-227,7
+227,7
@@
class SessionManager {
const _scope = _fileScope('getAdminLogout');
this.logger.debug(_scope, 'called', { ctx });
- this._sessionCookieSet(res, '', 0);
+
await
this._sessionCookieSet(res, '', 0);
const redirect = ctx.queryParams['r'] || './';