Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update sso-sign-in.tsx

Steven Teyd5a0b5632833
diff --git a/apps/web/ui/auth/login/sso-sign-in.tsx b/apps/web/ui/auth/login/sso-sign-in.tsx
index f2002700fc..dbbe8eac66 100644
--- a/apps/web/ui/auth/login/sso-sign-in.tsx
+++ b/apps/web/ui/auth/login/sso-sign-in.tsx
@@ -13,6 +13,7 @@ export const SSOSignIn = () => {
const {
setClickedMethod,
clickedMethod,
+ authMethod,
setLastUsedAuthMethod,
setShowSSOOption,
showSSOOption,
@@ -44,7 +45,9 @@ export const SSOSignIn = () => {
>
{showSSOOption && (
<div>
- <div className="mb-4 mt-1 border-t border-neutral-300" />
+ {authMethod !== "saml" && (
+ <div className="mb-4 mt-1 border-t border-neutral-300" />
+ )}
<div className="flex items-center space-x-2">
<h2 className="text-sm font-medium text-neutral-900">
Workspace Slug