mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user