Update feature check

GitOrigin-RevId: 82ad7be9f619b03f4d02f39c37940b2040c11030
This commit is contained in:
Jessica Lawshe
2019-10-08 10:52:24 +00:00
committed by sharelatex
parent 3a7384c83f
commit bf42f6c5b5
@@ -52,7 +52,7 @@ module.exports = Features = {
case 'references':
return Settings.apis.references.url != null
case 'saml':
return Settings.enableSaml != null
return Settings.enableSaml
default:
throw new Error(`unknown feature: ${feature}`)
}