mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
fix: trigger actual logout on request
This commit is contained in:
parent
72f5f95639
commit
e50630790c
@ -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