summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-01-21 15:17:20 +0000
committerNeil Johnson <neil@matrix.org>2019-01-21 15:17:20 +0000
commit1b53cc3cb4372d624194360b6039c5f7d05a2007 (patch)
tree7f1083f5dd79bee84f00947f72fe27149046651a /synapse/config/registration.py
parentConfig option to disable requesting MSISDN on registration (diff)
downloadsynapse-1b53cc3cb4372d624194360b6039c5f7d05a2007.tar.xz
fix line length
Diffstat (limited to '')
-rw-r--r--synapse/config/registration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index e725773735..fe520d6855 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -50,7 +50,9 @@ class RegistrationConfig(Config):
                 raise ConfigError('Invalid auto_join_rooms entry %s' % (room_alias,))
         self.autocreate_auto_join_rooms = config.get("autocreate_auto_join_rooms", True)
 
-        self.disable_msisdn_registration = config.get("disable_msisdn_registration", False)
+        self.disable_msisdn_registration = (
+            config.get("disable_msisdn_registration", False)
+        )
 
     def default_config(self, generate_secrets=False, **kwargs):
         if generate_secrets: