Skip to content

Commit

Permalink
fix: Hide social login links when SAML is available or SSO provider i…
Browse files Browse the repository at this point in the history
…s enforced
  • Loading branch information
maxbelm committed Sep 6, 2023
1 parent bc091c6 commit 2fdda1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/scenes/authentication/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ export function Login(): JSX.Element {
</Link>
</div>
)}
<SocialLoginButtons caption="Or log in with" topDivider />
{!precheckResponse.saml_available && !precheckResponse.sso_enforcement && (
<SocialLoginButtons caption="Or log in with" topDivider />
)}
</div>
</BridgePage>
)
Expand Down

0 comments on commit 2fdda1c

Please sign in to comment.