diff --git a/src/controllers/authentication.js b/src/controllers/authentication.js index ba0d3da0d1..fa27ecaa31 100644 --- a/src/controllers/authentication.js +++ b/src/controllers/authentication.js @@ -391,7 +391,7 @@ authenticationController.onSuccessfulLogin = function (req, uid, callback) { }, function (next) { user.updateOnlineUsers(uid, next); - } + }, ], function (err) { next(err); });