1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/templates
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
..
admin Webhook list enhancements (#21893) 2022-11-22 07:10:42 +08:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Allow disable RSS/Atom feed (#21622) 2022-11-21 13:14:58 +08:00
code Run make fmt (#21437) 2022-10-13 21:33:54 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
mail Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
org Embed Matrix icon as SVG (#21890) 2022-11-21 20:25:26 +00:00
package Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
repo Webhook list enhancements (#21893) 2022-11-22 07:10:42 +08:00
shared Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
user Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
home.tmpl fix(web): add alt for logo in home page (#21887) 2022-11-21 15:09:55 -05:00
install.tmpl Clean up formatting on install page (#21668) 2022-11-03 20:41:01 +00:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00