diff --git a/templates/forms/fields/captcha/captcha.html.twig b/templates/forms/fields/captcha/captcha.html.twig index 75a4bee..a55bbed 100644 --- a/templates/forms/fields/captcha/captcha.html.twig +++ b/templates/forms/fields/captcha/captcha.html.twig @@ -2,7 +2,7 @@ {% set config = grav.config %} {% set site_key = field.recaptcha_site_key and field.recaptcha_site_key != 'ENTER_YOUR_CAPTCHA_SITE_KEY' ? field.recaptcha_site_key : config.plugins.form.recaptcha.site_key %} -{% set action = (page.route|trim('/') ~ '-' ~ form.name)|underscorize %} +{% set action = (page.route|trim('/') ~ '-' ~ form.name)|underscorize|md5 %} {% set formName = form.name|underscorize %} {% set theme = config.plugins.form.recaptcha.theme ?? 'light' %}