Node.js based forum software built for the modern web
closes #6483
Julian Lam5d198491d5ff
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex 643b898843..5bf4889498 100644--- a/src/controllers/authentication.js+++ b/src/controllers/authentication.js@@ -357,6 +357,9 @@ authenticationController.onSuccessfulLogin = function (req, uid, callback) {// Force session check for all connected socket.io clients with the same session idsockets.in('sess_' + req.sessionID).emit('checkSession', uid);+ // Trigger registration interstitial check+ req.session.registration = req.session.registration || {};+plugins.fireHook('action:user.loggedIn', { uid: uid, req: req });next();},