added action:user.loggedOut

v1.18.x
barisusakli 10 years ago
parent 6ee0671e6a
commit 414c2a8bd9

@ -261,6 +261,8 @@ authenticationController.logout = function(req, res, next) {
return next(err); return next(err);
} }
req.logout(); req.logout();
plugins.fireHook('action:user.loggedOut', req.user.uid);
res.status(200).send(''); res.status(200).send('');
}); });
} else { } else {

Loading…
Cancel
Save