mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 16:06:52 +00:00
revert accidental bcrypt gensalt round reduction from loadtesting
This commit is contained in:
parent
ef8e8ebd91
commit
dfa98f911b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue