mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove redundant !!
This commit is contained in:
parent
9bd7c2d827
commit
fa146a1558
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module.exports = UserController =
|
|||
|
||||
updateUserSettings : (req, res)->
|
||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||
usingExternalAuth = !!(settings.ldap? or settings.saml?)
|
||||
usingExternalAuth = settings.ldap? or settings.saml?
|
||||
logger.log user_id: user_id, "updating account settings"
|
||||
User.findById user_id, (err, user)->
|
||||
if err? or !user?
|
||||
|
|
Loading…
Reference in a new issue