mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
987f181121
commit
1a1a387301
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ define(['base'], App =>
|
|||
}
|
||||
}
|
||||
const _ssoAvailable = affiliation => {
|
||||
if (!ExposedSettings.hasSamlFeature) return false
|
||||
|
||||
if (!affiliation) {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue