Merge pull request #2485 from overleaf/jel-add-saml-feature-check

Add SAML feature check back to portals and user settings

GitOrigin-RevId: 758b6debdfab057078f53827bc49f19aa4eada59
This commit is contained in:
Jessica Lawshe 2020-01-07 09:23:36 -06:00 committed by Copybot
parent 987f181121
commit 1a1a387301

View file

@ -47,6 +47,8 @@ define(['base'], App =>
}
}
const _ssoAvailable = affiliation => {
if (!ExposedSettings.hasSamlFeature) return false
if (!affiliation) {
return false
}