Revert "closes #6483"

This reverts commit 5d198491d5.
v1.18.x
Julian Lam 7 years ago
parent 445b92ae38
commit 44f8e6d3bb

@ -357,9 +357,6 @@ 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