forked from gitea/gitea
1
0
Fork 0
gitea/templates/user
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
..
auth Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
dashboard Add `code` highlighting in issue titles (#21432) 2022-10-16 02:24:41 +08:00
notification Add `context.Context` to more methods (#21546) 2022-11-19 16:12:33 +08:00
overview Added missing headers on user packages page (#21172) 2022-10-24 20:01:05 +08:00
settings Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
code.tmpl Run `make fmt` (#21437) 2022-10-13 21:33:54 -04:00
heatmap.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
profile.tmpl Allow disable RSS/Atom feed (#21622) 2022-11-21 13:14:58 +08:00
project.tmpl Add whitespace removal inside template curly brackes (#20853) 2022-08-25 17:55:52 -04:00