Fix div duplication

This commit is contained in:
Joseph Garrone 2024-08-14 15:48:16 +02:00
parent 2e371d2078
commit 6edf9c3d15

View File

@ -223,7 +223,6 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
{children}
{auth !== undefined && auth.showTryAnotherWayLink && (
<form id="kc-select-try-another-way-form" action={url.loginAction} method="post">
<div className={kcClsx("kcFormGroupClass")}>
<div className={kcClsx("kcFormGroupClass")}>
<input type="hidden" name="tryAnotherWay" value="on" />
<a
@ -237,7 +236,6 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
{msg("doTryAnotherWay")}
</a>
</div>
</div>
</form>
)}
{socialProvidersNode}