fix: missing req, closes #10847

isekai-main
Barış Soner Uşaklı 2 years ago
parent 72e7b9f7d8
commit 489fb3a36f

@ -471,7 +471,7 @@ authenticationController.logout = async function (req, res, next) {
try {
await user.auth.revokeSession(sessionID, uid);
await logoutAsync();
await logoutAsync(req);
await destroyAsync(req);
res.clearCookie(nconf.get('sessionKey'), meta.configs.cookie.get());

Loading…
Cancel
Save