From 29aaaee5ec2834fa363a8b9ea57bdc1362da4edc Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Sat, 10 Jun 2023 11:48:35 -0700 Subject: [PATCH] fix un-awaited cookie setting --- lib/session-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session-manager.js b/lib/session-manager.js index cb4c712..43990cc 100644 --- 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'] || './'; -- 2.43.2