summary refs log tree commit diff
path: root/synapse/config/captcha.py
diff options
context:
space:
mode:
authorAaron Raimist <aaron@raim.ist>2020-03-25 12:49:34 -0500
committerGitHub <noreply@github.com>2020-03-25 17:49:34 +0000
commit6ca5e56fd12bbccb6b3ab43ed7c0281e4822274a (patch)
tree2ce1fb8df4f85e89569ebfc9dac0463ee36de8cc /synapse/config/captcha.py
parentMove catchup of replication streams to worker. (#7024) (diff)
downloadsynapse-6ca5e56fd12bbccb6b3ab43ed7c0281e4822274a.tar.xz
Remove unused captcha_bypass_secret option (#7137)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
Diffstat (limited to '')
-rw-r--r--synapse/config/captcha.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/config/captcha.py b/synapse/config/captcha.py
index f0171bb5b2..56c87fa296 100644
--- a/synapse/config/captcha.py
+++ b/synapse/config/captcha.py
@@ -24,7 +24,6 @@ class CaptchaConfig(Config):
         self.enable_registration_captcha = config.get(
             "enable_registration_captcha", False
         )
-        self.captcha_bypass_secret = config.get("captcha_bypass_secret")
         self.recaptcha_siteverify_api = config.get(
             "recaptcha_siteverify_api",
             "https://www.recaptcha.net/recaptcha/api/siteverify",
@@ -49,10 +48,6 @@ class CaptchaConfig(Config):
         #
         #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.
         #
         #recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify"