X-Git-Url: https://git.squeep.com/?p=squeep-authentication-module;a=blobdiff_plain;f=lib%2Fsession-manager.js;fp=lib%2Fsession-manager.js;h=43990cc376e4ee8b16a35092c2bf81620b3a1b9a;hp=cb4c7126ec54cffc18b1856270cd1112f5c60182;hb=29aaaee5ec2834fa363a8b9ea57bdc1362da4edc;hpb=681ff60618195ab6754e5b8718a32e53ab2222ec 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'] || './';