mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 12:16:12 +00:00
Remove unused captcha_bypass_secret option (#7137)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
4cff617df1
commit
6ca5e56fd1
1
changelog.d/7137.removal
Normal file
1
changelog.d/7137.removal
Normal file
@ -0,0 +1 @@
|
|||||||
|
Remove nonfunctional `captcha_bypass_secret` option from `homeserver.yaml`.
|
@ -872,10 +872,6 @@ media_store_path: "DATADIR/media_store"
|
|||||||
#
|
#
|
||||||
#enable_registration_captcha: false
|
#enable_registration_captcha: false
|
||||||
|
|
||||||
# A secret key used to bypass the captcha test entirely.
|
|
||||||
#
|
|
||||||
#captcha_bypass_secret: "YOUR_SECRET_HERE"
|
|
||||||
|
|
||||||
# The API endpoint to use for verifying m.login.recaptcha responses.
|
# The API endpoint to use for verifying m.login.recaptcha responses.
|
||||||
#
|
#
|
||||||
#recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
#recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
||||||
|
@ -24,7 +24,6 @@ class CaptchaConfig(Config):
|
|||||||
self.enable_registration_captcha = config.get(
|
self.enable_registration_captcha = config.get(
|
||||||
"enable_registration_captcha", False
|
"enable_registration_captcha", False
|
||||||
)
|
)
|
||||||
self.captcha_bypass_secret = config.get("captcha_bypass_secret")
|
|
||||||
self.recaptcha_siteverify_api = config.get(
|
self.recaptcha_siteverify_api = config.get(
|
||||||
"recaptcha_siteverify_api",
|
"recaptcha_siteverify_api",
|
||||||
"https://www.recaptcha.net/recaptcha/api/siteverify",
|
"https://www.recaptcha.net/recaptcha/api/siteverify",
|
||||||
@ -49,10 +48,6 @@ class CaptchaConfig(Config):
|
|||||||
#
|
#
|
||||||
#enable_registration_captcha: false
|
#enable_registration_captcha: false
|
||||||
|
|
||||||
# A secret key used to bypass the captcha test entirely.
|
|
||||||
#
|
|
||||||
#captcha_bypass_secret: "YOUR_SECRET_HERE"
|
|
||||||
|
|
||||||
# The API endpoint to use for verifying m.login.recaptcha responses.
|
# The API endpoint to use for verifying m.login.recaptcha responses.
|
||||||
#
|
#
|
||||||
#recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
#recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"
|
||||||
|
Loading…
Reference in New Issue
Block a user