projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix un-awaited cookie setting
[squeep-authentication-module]
/
lib
/
session-manager.js
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'] || './';