diff options
author | ByLCY <bylcy@bylcy.dev> | 2023-02-05 15:29:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 15:29:03 +0800 |
commit | 7baeb9c52a69eb6f7e0973986f2a6bebdd6352d0 (patch) | |
tree | 9aa89a504561468d26726507edb21c32a13621ae /modules/setting/setting.go | |
parent | e35f8e15a67e8268542d2442dac32993b6944043 (diff) | |
download | gitea-7baeb9c52a69eb6f7e0973986f2a6bebdd6352d0.tar.gz gitea-7baeb9c52a69eb6f7e0973986f2a6bebdd6352d0.zip |
Add new captcha: cloudflare turnstile (#22369)
Added a new captcha(cloudflare turnstile) and its corresponding
document. Cloudflare turnstile official instructions are here:
https://developers.cloudflare.com/turnstile
Signed-off-by: ByLCY <bylcy@bylcy.dev>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r-- | modules/setting/setting.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 23cd90553e..a68a46f7ad 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -61,6 +61,7 @@ const ( ReCaptcha = "recaptcha" HCaptcha = "hcaptcha" MCaptcha = "mcaptcha" + CfTurnstile = "cfturnstile" ) // settings |