remove commented out code

This commit is contained in:
Shane Kilkelly 2017-02-06 16:35:52 +00:00
parent 7d5dc34b3e
commit 6a161b4071

View file

@ -53,7 +53,6 @@ module.exports =
if req.body.login_after if req.body.login_after
UserGetter.getUser user_id, {email: 1}, (err, user) -> UserGetter.getUser user_id, {email: 1}, (err, user) ->
return next(err) if err? return next(err) if err?
# AuthenticationController.doLogin {email:user.email, password: password}, req, res, next
AuthenticationController.afterLoginSessionSetup req, user, (err) -> AuthenticationController.afterLoginSessionSetup req, user, (err) ->
if err? if err?
logger.err {err, email: user.email}, "Error setting up session after setting password" logger.err {err, email: user.email}, "Error setting up session after setting password"