From 02c3dec1aa5f24799aba16ff53866cd05739a967 Mon Sep 17 00:00:00 2001 From: Craig Tracey Date: Fri, 12 Jan 2024 13:38:04 -0500 Subject: [PATCH] Update register to pull in the recaptcha script tag Signed-off-by: Craig Tracey --- theme/keywind/login/register.ftl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/theme/keywind/login/register.ftl b/theme/keywind/login/register.ftl index c1a2f061f..813d75339 100644 --- a/theme/keywind/login/register.ftl +++ b/theme/keywind/login/register.ftl @@ -4,6 +4,7 @@ <#import "components/atoms/form.ftl" as form> <#import "components/atoms/input.ftl" as input> <#import "components/atoms/link.ftl" as link> +<#import "components/molecules/recaptcha.ftl" as recaptcha> <@layout.registrationLayout displayMessage=!messagesPerField.existsError("firstName", "lastName", "email", "username", "password", "password-confirm") @@ -71,9 +72,9 @@ type="password" /> - <#if recaptchaRequired??> -
- + + <@recaptcha.kw recaptchaRequired=recaptchaRequired?? recaptchaSiteKey=recaptchaSiteKey /> + <@buttonGroup.kw> <@button.kw color="primary" type="submit"> ${msg("doRegister")}