fix: #8085, fix cookie name

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 483d75354e
commit dec157d606

@ -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;

Loading…
Cancel
Save