fix syntax error

This commit is contained in:
Joseph Garrone 2024-06-12 22:52:53 +02:00
parent 072e22d072
commit f90dc8bc7e

View File

@ -334,7 +334,7 @@ function decodeHtmlEntities(htmlStr){
<#list fieldNames as fieldName>
<#-- See: https://github.com/keycloakify/keycloakify/issues/217 -->
<#if pageId === "login.ftl" >
<#if pageId == "login.ftl" >
<#if fieldName == "username">
@ -382,7 +382,7 @@ function decodeHtmlEntities(htmlStr){
<#list fieldNames as fieldName>
<#-- See: https://github.com/keycloakify/keycloakify/issues/217 -->
<#if pageId === "login.ftl" >
<#if pageId == "login.ftl" >
<#if fieldName == "username">
<#local jsFunctionCode += "if(fieldName === 'username' || fieldName === 'password' ){ ">