Reverse an un-necessary change

This commit is contained in:
Shane Kilkelly 2018-03-05 13:24:54 +00:00
parent b3f47ea44a
commit 97d181c3f9

View file

@ -52,7 +52,7 @@ module.exports = AuthenticationController =
logger.err {user_id: user._id}, "error saving regenerated session after login" logger.err {user_id: user._id}, "error saving regenerated session after login"
return callback(err) return callback(err)
UserSessionsManager.trackSession(user, req.sessionID, () ->) UserSessionsManager.trackSession(user, req.sessionID, () ->)
callback(err) callback(null)
passportLogin: (req, res, next) -> passportLogin: (req, res, next) ->
# This function is middleware which wraps the passport.authenticate middleware, # This function is middleware which wraps the passport.authenticate middleware,