Skip to content

Node.js based forum software built for the modern web

Revert "closes #6483"

Julian Lam44f8e6d3bb8e
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();
},