diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-08-10 13:20:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 15:20:10 +0200 |
commit | 58de07e5fd14c23dd4c4a315b8c5b3fb3219f66a (patch) | |
tree | cec2e02c494e19a42bc6095c480d93354259b669 /custom | |
parent | 452272c0384d7033ffde18bcb1167e8e49ff598c (diff) | |
download | gitea-58de07e5fd14c23dd4c4a315b8c5b3fb3219f66a.tar.gz gitea-58de07e5fd14c23dd4c4a315b8c5b3fb3219f66a.zip |
Add support mCaptcha as captcha provider (#20458)
https://mcaptcha.org/
Co-authored-by: Felipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 83b3048bc6..ab22899955 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -698,9 +698,11 @@ ROUTER = console ;; Enable captcha validation for registration ;ENABLE_CAPTCHA = false ;; -;; Type of captcha you want to use. Options: image, recaptcha, hcaptcha +;; Type of captcha you want to use. Options: image, recaptcha, hcaptcha, mcaptcha. ;CAPTCHA_TYPE = image ;; +;; Change this to use recaptcha.net or other recaptcha service +;RECAPTCHA_URL = https://www.google.com/recaptcha/ ;; Enable recaptcha to use Google's recaptcha service ;; Go to https://www.google.com/recaptcha/admin to sign up for a key ;RECAPTCHA_SECRET = @@ -710,8 +712,13 @@ ROUTER = console ;HCAPTCHA_SECRET = ;HCAPTCHA_SITEKEY = ;; -;; Change this to use recaptcha.net or other recaptcha service -;RECAPTCHA_URL = https://www.google.com/recaptcha/ +;; Change this to use demo.mcaptcha.org or your self-hosted mcaptcha.org instance. +;MCAPTCHA_URL = https://demo.mcaptcha.org +;; +;; Go to your configured mCaptcha instance and register a sitekey +;; and use your account's secret. +;MCAPTCHA_SECRET = +;MCAPTCHA_SITEKEY = ;; ;; Default value for KeepEmailPrivate ;; Each new user will get the value of this setting copied into their profile |