diff options
author | Xinyu Zhou <i@sourcehut.net> | 2022-11-23 05:13:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 21:13:18 +0000 |
commit | 68e934ab5de6a4e8bec6f3faa8bf1e05899b8fb8 (patch) | |
tree | 1c8e521dcc2f11b3a69b0b3d3c49518260820b32 /web_src/less/_repository.less | |
parent | e77b76425e5ae205d6db2c78ab7b31fbc1b186a6 (diff) | |
download | gitea-68e934ab5de6a4e8bec6f3faa8bf1e05899b8fb8.tar.gz gitea-68e934ab5de6a4e8bec6f3faa8bf1e05899b8fb8.zip |
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>
Diffstat (limited to 'web_src/less/_repository.less')
0 files changed, 0 insertions, 0 deletions