diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-07 17:45:42 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-07 17:45:42 +0100 |
commit | dfa98f911be7de6b30a1e2adf2ba5c72f1030d61 (patch) | |
tree | 893aa04538a7f2963696c2de4c472fe5a38a6ca4 /synapse/handlers/register.py | |
parent | pynacl-0.3.0 was released so we can finally start using it directly from pypi (diff) | |
download | synapse-dfa98f911be7de6b30a1e2adf2ba5c72f1030d61.tar.xz |
revert accidental bcrypt gensalt round reduction from loadtesting
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index c0036e1f40..7b68585a17 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -82,7 +82,7 @@ class RegistrationHandler(BaseHandler): yield run_on_reactor() password_hash = None if password: - password_hash = bcrypt.hashpw(password, bcrypt.gensalt(1)) + password_hash = bcrypt.hashpw(password, bcrypt.gensalt()) if localpart: yield self.check_username(localpart) |