diff --git a/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl b/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl index 95eed751..ac7634cf 100644 --- a/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl +++ b/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl @@ -373,7 +373,7 @@ <#-- https://github.com/keycloakify/keycloakify/discussions/406 --> <#if ( - ["register.ftl", "info.ftl", "login.ftl", "login-update-password.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) && + ["register.ftl", "register-user-profile.ftl", "info.ftl", "login.ftl", "login-update-password.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) && key == "attemptedUsername" && are_same_path(path, ["auth"]) )> <#attempt> @@ -383,7 +383,7 @@ <#continue> <#recover> - <#local out_seq += ["/*Testing if attemptedUsername should be skipped throwed an exception */"]> + <#local out_seq += ["/*Accessing attemptedUsername throwed an exception */"]>