fix: #8085, fix cookie name

This commit is contained in:
Barış Soner Uşaklı
2019-12-17 08:10:21 -05:00
parent 483d75354e
commit dec157d606

View File

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