Răsfoiți Sursa

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 6 ani în urmă
părinte
comite
1a1a387301

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

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