Skip to content

Commit 364e805

Browse files
committed
1 parent c60fb5e commit 364e805

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/login/pages/Login.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ export default function Login(
5050
return (
5151
<Template
5252
{...{ kcContext, i18n, doUseDefaultCss, "classes": classes_props }}
53-
displayInfo={social.displayInfo}
53+
displayInfo={
54+
realm.password &&
55+
(realm.resetPasswordAllowed ||
56+
(realm.registrationAllowed && !registrationDisabled))
57+
}
5458
displayWide={realm.password && social.providers !== undefined}
5559
headerNode={msg("connect")}
5660
infoNode={

0 commit comments

Comments
 (0)