summary refs log tree commit diff
path: root/synapse/rest/client/register.py
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2022-05-05 12:11:52 +0100
committerGitHub <noreply@github.com>2022-05-05 07:11:52 -0400
commitcc7656099d882735507c41ea6efcba961f53b7ec (patch)
treee2ccb4d284fc7d2e6d63ab05dcaff2ae43a4a889 /synapse/rest/client/register.py
parentReduce log spam when running multiple event persisters (#12610) (diff)
downloadsynapse-cc7656099d882735507c41ea6efcba961f53b7ec.tar.xz
Fix typo in some instances of enable_registration_token_3pid_bypass. (#12639)
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/register.py b/synapse/rest/client/register.py
index 47b6db1ebf..e8e51a9c66 100644
--- a/synapse/rest/client/register.py
+++ b/synapse/rest/client/register.py
@@ -930,7 +930,7 @@ def _calculate_registration_flows(
         flows.append([LoginType.MSISDN, LoginType.EMAIL_IDENTITY])
 
     # Add a flow that doesn't require any 3pids, if the config requests it.
-    if config.registration.enable_registration_token_3pid_bypasss:
+    if config.registration.enable_registration_token_3pid_bypass:
         flows.append([LoginType.REGISTRATION_TOKEN])
 
     # Prepend m.login.terms to all flows if we're requiring consent