diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-01-27 22:56:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 22:56:54 +0800 |
commit | 41c0776568b3fa1bf825439103085146260e16a8 (patch) | |
tree | 84237872a82c15ec666a760dd648474fd6ff9ccb /templates/user | |
parent | 669ff8e9b1c15d24dd30852588c2dbb3d82e0cd9 (diff) | |
download | gitea-41c0776568b3fa1bf825439103085146260e16a8.tar.gz gitea-41c0776568b3fa1bf825439103085146260e16a8.zip |
Fix captcha (#14488)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/signup_inner.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/signup_openid_register.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/auth/signup_inner.tmpl b/templates/user/auth/signup_inner.tmpl index 70fc2947c3..4e8c0adb4f 100644 --- a/templates/user/auth/signup_inner.tmpl +++ b/templates/user/auth/signup_inner.tmpl @@ -37,7 +37,7 @@ {{if and .EnableCaptcha (eq .CaptchaType "image")}} <div class="inline field"> <label></label> - {{.Captcha.CreateHtml}} + {{.Captcha.CreateHTML}} </div> <div class="required inline field {{if .Err_Captcha}}error{{end}}"> <label for="captcha">{{.i18n.Tr "captcha"}}</label> diff --git a/templates/user/auth/signup_openid_register.tmpl b/templates/user/auth/signup_openid_register.tmpl index 3138cfe13b..90af77476b 100644 --- a/templates/user/auth/signup_openid_register.tmpl +++ b/templates/user/auth/signup_openid_register.tmpl @@ -23,7 +23,7 @@ {{if and .EnableCaptcha (eq .CaptchaType "image")}} <div class="inline field"> <label></label> - {{.Captcha.CreateHtml}} + {{.Captcha.CreateHTML}} </div> <div class="required inline field {{if .Err_Captcha}}error{{end}}"> <label for="captcha">{{.i18n.Tr "captcha"}}</label> |