Node.js based forum software built for the modern web
added action:user.loggedOut
barisusakli414c2a8bd9a0
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex 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 {