From 44f8e6d3bb8e066e265c8cd8a866f7ce0086c034 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 2 May 2018 14:03:47 -0400 Subject: [PATCH] Revert "closes #6483" This reverts commit 5d198491d5ff7dbebc8e09c1fd79a6c61bb30bb2. --- src/controllers/authentication.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/controllers/authentication.js b/src/controllers/authentication.js index 5bf4889498..643b898843 100644 --- a/src/controllers/authentication.js +++ b/src/controllers/authentication.js @@ -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(); },