Skip to content

Commit

Permalink
refactor: conditionally display selfCredentials message
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-tobi committed May 23, 2024
1 parent fa771aa commit 7c7b9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/login/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function Login(
</div>
</div>
)}
<h5>{msgStr("selfCredentials")}</h5>
{social.providers.length !== 0 && <h5>{msgStr("selfCredentials")}</h5>}
<div className={classes.inputs}>
{(() => {
const label = !realm.loginWithEmailAllowed
Expand Down

0 comments on commit 7c7b9a3

Please sign in to comment.