mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
added action:user.loggedOut
This commit is contained in:
@@ -261,6 +261,8 @@ authenticationController.logout = function(req, res, next) {
|
||||
return next(err);
|
||||
}
|
||||
req.logout();
|
||||
|
||||
plugins.fireHook('action:user.loggedOut', req.user.uid);
|
||||
res.status(200).send('');
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user