mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 08:23:58 +00: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