Explorar el Código

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

Add SAML feature check back to portals and user settings

GitOrigin-RevId: 758b6debdfab057078f53827bc49f19aa4eada59
Jessica Lawshe hace 6 años
padre
commit
1a1a387301

+ 2 - 0
services/web/frontend/js/main/affiliations/controllers/UserAffiliationsController.js

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