diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 31c669a921..d65a3626a4 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -13,18 +13,6 @@ {{template "base/footer_content" .}} - -{{if .EnableCaptcha}} - {{if eq .CaptchaType "recaptcha"}} - - {{end}} - {{if eq .CaptchaType "hcaptcha"}} - - {{end}} - {{if eq .CaptchaType "cfturnstile"}} - - {{end}} -{{end}} {{template "custom/footer" .}} diff --git a/templates/user/auth/captcha.tmpl b/templates/user/auth/captcha.tmpl index c4e58d0134..1c3379e629 100644 --- a/templates/user/auth/captcha.tmpl +++ b/templates/user/auth/captcha.tmpl @@ -11,10 +11,12 @@
+ {{else if eq .CaptchaType "hcaptcha"}}
+ {{else if eq .CaptchaType "mcaptcha"}}
@@ -25,4 +27,5 @@
+ {{end}}{{end}}