diff --git a/services/web/app/src/Features/Authentication/AuthenticationController.js b/services/web/app/src/Features/Authentication/AuthenticationController.js index 555d359d42..a8d4ed0a66 100644 --- a/services/web/app/src/Features/Authentication/AuthenticationController.js +++ b/services/web/app/src/Features/Authentication/AuthenticationController.js @@ -234,7 +234,11 @@ const AuthenticationController = (module.exports = { }, _loginAsyncHandlers(req, user) { - UserHandler.setupLoginData(user, function() {}) + UserHandler.setupLoginData(user, err => { + if (err != null) { + logger.warn({ err }, 'error setting up login data') + } + }) LoginRateLimiter.recordSuccessfulLogin(user.email) AuthenticationController._recordSuccessfulLogin(user._id) AuthenticationController.ipMatchCheck(req, user) diff --git a/services/web/app/src/Features/Email/Bodies/SingleCTAEmailBody.js b/services/web/app/src/Features/Email/Bodies/SingleCTAEmailBody.js index 296f21ce09..677ff32347 100644 --- a/services/web/app/src/Features/Email/Bodies/SingleCTAEmailBody.js +++ b/services/web/app/src/Features/Email/Bodies/SingleCTAEmailBody.js @@ -1,11 +1,4 @@ -/* eslint-disable - max-len, - no-unused-vars, -*/ -// TODO: This file was created by bulk-decaffeinate. -// Fix any style issues and re-enable lint. const _ = require('underscore') -const settings = require('settings-sharelatex') module.exports = _.template(`\