Node.js based forum software built for the modern web
fix: #8085, fix cookie name
Barış Soner Uşaklıdec157d60610
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex aa1683305c..56a0a11f20 100644--- a/src/controllers/authentication.js+++ b/src/controllers/authentication.js@@ -419,7 +419,7 @@ authenticationController.logout = async function (req, res, next) {req.logout();await destroyAsync(req);- res.clearCookie('express.sid', {+ res.clearCookie(nconf.get('sessionKey'), {path: nconf.get('relative_path'),});req.uid = 0;