You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
auth Add option to enable CAPTCHA validation for login (#21638) 2 years ago
dashboard Add `code` highlighting in issue titles (#21432) 2 years ago
notification Add `context.Context` to more methods (#21546) 2 years ago
overview Added missing headers on user packages page (#21172) 2 years ago
settings Add package registry cleanup rules (#21658) 2 years ago
code.tmpl Run `make fmt` (#21437) 2 years ago
heatmap.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
profile.tmpl Allow disable RSS/Atom feed (#21622) 2 years ago
project.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago