1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/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 Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
captcha.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
change_passwd.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
change_passwd_inner.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
finalize_openid.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
forgot_passwd.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
grant.tmpl Support instance-wide OAuth2 applications (#21335) 2022-10-12 22:08:29 +08:00
grant_error.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
link_account.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
oidc_wellknown.tmpl Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 2021-10-22 17:19:24 +08:00
prohibit_login.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
reset_passwd.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
signin.tmpl Add fluid to ui container class to remove margin (#16396) 2021-07-20 08:22:23 +02:00
signin_inner.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
signin_navbar.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
signin_openid.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
signup.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
signup_inner.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
signup_openid_connect.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
signup_openid_navbar.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
signup_openid_register.tmpl Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
twofa.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
twofa_scratch.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
webauthn.tmpl Center-aligning content of WebAuthN page (#21127) 2022-09-09 16:18:54 -04:00
webauthn_error.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00