Skip to content

Commit befe937

Browse files
committed
don't mention SSO when signing in if there are none
1 parent e6d4c84 commit befe937

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/packages/next/components/auth/sign-in.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ export default function SignIn({ strategies }) {
4545

4646
<div style={LOGIN_STYLE}>
4747
<div style={{ margin: "10px 0" }}>
48-
Sign in using your email address or a single sign on provider.
48+
{strategies.length > 0
49+
? "Sign in using your email address or a single sign on provider."
50+
: "Sign in using your email address."}
4951
</div>
5052
<form>
5153
<Input

0 commit comments

Comments
 (0)