From 2fdda1c828d4941213f1023d8acfc7411a2947c3 Mon Sep 17 00:00:00 2001 From: maxbelm Date: Wed, 6 Sep 2023 09:51:12 -0700 Subject: [PATCH] fix: Hide social login links when SAML is available or SSO provider is enforced --- frontend/src/scenes/authentication/Login.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/authentication/Login.tsx b/frontend/src/scenes/authentication/Login.tsx index 883c3215db9bb..b3c3cf1f70149 100644 --- a/frontend/src/scenes/authentication/Login.tsx +++ b/frontend/src/scenes/authentication/Login.tsx @@ -168,7 +168,9 @@ export function Login(): JSX.Element { )} - + {!precheckResponse.saml_available && !precheckResponse.sso_enforcement && ( + + )} )