mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
remove commented out code
This commit is contained in:
parent
7d5dc34b3e
commit
6a161b4071
1 changed files with 0 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue