diff --git a/src/controllers/authentication.js b/src/controllers/authentication.js index 795692cc46..907bdcff07 100644 --- a/src/controllers/authentication.js +++ b/src/controllers/authentication.js @@ -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 {