From 30b78624059e26da40c56fbf619e7109fb3a0f4b Mon Sep 17 00:00:00 2001 From: klawuy Date: Fri, 24 Jun 2022 08:19:36 +0200 Subject: [PATCH] Update captcha.html.twig --- templates/forms/fields/captcha/captcha.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' %}