Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Revert 085ae34
Browse files Browse the repository at this point in the history
Accidentally went straight to develop
  • Loading branch information
dbkr committed May 10, 2019
1 parent 085ae34 commit c2bb747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v2_alpha/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def on_POST(self, request):
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]])
Expand Down

0 comments on commit c2bb747

Please sign in to comment.