0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 00:47:33 +01:00
gitea/templates/user/auth
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638)
Enable this to require captcha validation for user login. You also must
enable `ENABLE_CAPTCHA`.

Summary:
- Consolidate CAPTCHA template
- add CAPTCHA handle and context
- add `REQUIRE_CAPTCHA_FOR_LOGIN` config and docs
- Consolidate CAPTCHA set-up and verification code 

Partially resolved #6049 

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2022-11-22 21:13:18 +00:00
..
activate.tmpl
captcha.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
change_passwd_inner.tmpl
change_passwd.tmpl
finalize_openid.tmpl
forgot_passwd.tmpl
grant_error.tmpl
grant.tmpl Support instance-wide OAuth2 applications (#21335) 2022-10-12 22:08:29 +08:00
link_account.tmpl
oidc_wellknown.tmpl
prohibit_login.tmpl
reset_passwd.tmpl
signin_inner.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
signin_navbar.tmpl
signin_openid.tmpl
signin.tmpl
signup_inner.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
signup_openid_connect.tmpl
signup_openid_navbar.tmpl
signup_openid_register.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
signup.tmpl
twofa_scratch.tmpl
twofa.tmpl
webauthn_error.tmpl
webauthn.tmpl Center-aligning content of WebAuthN page (#21127) 2022-09-09 16:18:54 -04:00