mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Reverse an un-necessary change
This commit is contained in:
parent
b3f47ea44a
commit
97d181c3f9
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue