v1.18.x
Julian Lam 7 years ago
parent 99f1a5380e
commit 5d198491d5

@ -357,6 +357,9 @@ authenticationController.onSuccessfulLogin = function (req, uid, callback) {
// Force session check for all connected socket.io clients with the same session id
sockets.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();
},

Loading…
Cancel
Save