- {(() => {
- const label = !realm.loginWithEmailAllowed
- ? "username"
- : realm.registrationEmailAsUsername
- ? "email"
- : "usernameOrEmail";
- const autoCompleteHelper: typeof label =
- label === "usernameOrEmail" ? "username" : label;
+ {themeName !== "dsfr-dnum-no-login-form" && (
+ <>
+
{msgStr("selfCredentials")}
+
+ {(() => {
+ const label = !realm.loginWithEmailAllowed
+ ? "username"
+ : realm.registrationEmailAsUsername
+ ? "email"
+ : "usernameOrEmail";
+
+ const autoCompleteHelper: typeof label =
+ label === "usernameOrEmail"
+ ? "username"
+ : label;
- return (
-
+ );
+ })()}
+
- );
- })()}
-
-
-
-
-
-
-
+
+
+
+
+ >
+ )}
)}
+ {kcContext.properties.loginHtml && (
+