summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2019-05-10 11:08:01 +0100
committerDavid Baker <dave@matrix.org>2019-05-10 11:08:01 +0100
commitc2bb7476c93d1f5026a4c8b715b2f70316d3a506 (patch)
tree6963a095e24f1dc8253f9011e455a44289fdd089 /synapse
parentAdd a DUMMY stage to captcha-only registration flow (diff)
downloadsynapse-c2bb7476c93d1f5026a4c8b715b2f70316d3a506.tar.xz
Revert 085ae346ace418e0fc043ac5f568f85ebf80038e
Accidentally went straight to develop
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index 95578b76ae..dc3e265bcd 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -345,7 +345,7 @@ class RegisterRestServlet(RestServlet):
         if self.hs.config.enable_registration_captcha:
             # only support 3PIDless registration if no 3PIDs are required
             if not require_email and not require_msisdn:
-                flows.extend([[LoginType.RECAPTCHA, LoginType.DUMMY]])
+                flows.extend([[LoginType.RECAPTCHA]])
             # only support the email-only flow if we don't require MSISDN 3PIDs
             if not require_msisdn:
                 flows.extend([[LoginType.EMAIL_IDENTITY, LoginType.RECAPTCHA]])