Fix mCaptcha broken after Vite migration (#37492) (#37509)

This commit is contained in:
Giteabot authored and GitHub committed 2026-05-02 18:20:52 +02:00
1 parent b88bad2a01
commit 8a49e9d346
6 files changed
+20 -29

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func GetImageCaptcha() *captcha.Captcha {
const (
gRecaptchaResponseField = "g-recaptcha-response"
hCaptchaResponseField = "h-captcha-response"
mCaptchaResponseField = "m-captcha-response"
mCaptchaResponseField = "mcaptcha__token" // this form key is hard-coded in the mcaptcha frontend library
cfTurnstileResponseField = "cf-turnstile-response"
)