mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 02:54:11 +00:00
Merge pull request #2642 from overleaf/jel-sso-confirm-notification
Extend _ssoAvailable check on dash frontend GitOrigin-RevId: a549ba86286361481114b9f0355c5741ac3ab921
This commit is contained in:
parent
d8d1bdd461
commit
60b5bf14e0
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ define(['base'], function(App) {
|
|||
$scope.userEmails = []
|
||||
const _ssoAvailable = email => {
|
||||
if (!ExposedSettings.hasSamlFeature) return false
|
||||
if (email.samlProviderId) return true
|
||||
if (!email.affiliation || !email.affiliation.institution) return false
|
||||
if (email.affiliation.institution.ssoEnabled) return true
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue