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:
parent
e11e036d2d
commit
42cfd93820
@ -30,6 +30,9 @@ class UserController extends Controller {
|
||||
if (req.session) {
|
||||
req.session = null;
|
||||
}
|
||||
if (req.logout) {
|
||||
req.logout();
|
||||
}
|
||||
res.redirect('/');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user