diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2016-11-30 16:53:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 16:53:20 +0000 |
commit | 321fe5c44c3cdd9c7ac3651657de42aa71f11b29 (patch) | |
tree | b2b6679c398ceec7651ae59027c3f85faeb1e7b7 /synapse/config | |
parent | Merge pull request #1653 from matrix-org/rav/guest_e2e (diff) | |
parent | Comments (diff) | |
download | synapse-321fe5c44c3cdd9c7ac3651657de42aa71f11b29.tar.xz |
Merge pull request #1656 from matrix-org/rav/remove_time_caveat
Stop putting a time caveat on access tokens
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/registration.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py index cc3f879857..87e500c97a 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py @@ -32,7 +32,6 @@ class RegistrationConfig(Config): ) self.registration_shared_secret = config.get("registration_shared_secret") - self.user_creation_max_duration = int(config["user_creation_max_duration"]) self.bcrypt_rounds = config.get("bcrypt_rounds", 12) self.trusted_third_party_id_servers = config["trusted_third_party_id_servers"] @@ -55,11 +54,6 @@ class RegistrationConfig(Config): # secret, even if registration is otherwise disabled. registration_shared_secret: "%(registration_shared_secret)s" - # Sets the expiry for the short term user creation in - # milliseconds. For instance the bellow duration is two weeks - # in milliseconds. - user_creation_max_duration: 1209600000 - # Set the number of bcrypt rounds used to generate password hash. # Larger numbers increase the work factor needed to generate the hash. # The default number of rounds is 12. |