Remove redundant !!

This commit is contained in:
Shane Kilkelly 2016-11-17 14:48:15 +00:00
parent 9bd7c2d827
commit fa146a1558

View file

@ -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?