Kaynağa Gözat

Merge pull request #2642 from overleaf/jel-sso-confirm-notification

Extend _ssoAvailable check on dash frontend

GitOrigin-RevId: a549ba86286361481114b9f0355c5741ac3ab921
Eric Mc Sween 6 yıl önce
ebeveyn
işleme
60b5bf14e0

+ 1 - 0
services/web/frontend/js/main/project-list/notifications-controller.js

@@ -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 (