1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: trigger actual logout on request

This commit is contained in:
Ivar Conradi Østhus 2019-04-03 19:24:57 +02:00
parent e11e036d2d
commit 42cfd93820

View File

@ -30,6 +30,9 @@ class UserController extends Controller {
if (req.session) {
req.session = null;
}
if (req.logout) {
req.logout();
}
res.redirect('/');
}
}