possibly fixes 2301

v1.18.x
barisusakli 10 years ago
parent 35e2e1462b
commit d2cc4b8516

@ -168,7 +168,7 @@ middleware.checkGlobalPrivacySettings = function(req, res, next) {
return res.status(403).json('not-allowed'); return res.status(403).json('not-allowed');
} else { } else {
req.session.returnTo = req.url; req.session.returnTo = req.url;
return res.redirect('login'); return res.redirect('/login');
} }
} }

Loading…
Cancel
Save