mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-07 03:25:52 -05:00
Revert 085ae346ace418e0fc043ac5f568f85ebf80038e
Accidentally went straight to develop
This commit is contained in:
parent
085ae346ac
commit
c2bb7476c9
@ -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]])
|
||||
|
Loading…
x
Reference in New Issue
Block a user