diff --git a/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee b/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee index 08a19aebad..3fbad520c9 100644 --- a/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee +++ b/services/web/app/coffee/Features/Authentication/AuthenticationController.coffee @@ -52,7 +52,7 @@ module.exports = AuthenticationController = logger.err {user_id: user._id}, "error saving regenerated session after login" return callback(err) UserSessionsManager.trackSession(user, req.sessionID, () ->) - callback(err) + callback(null) passportLogin: (req, res, next) -> # This function is middleware which wraps the passport.authenticate middleware,