0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-19 12:13:55 +01:00

revert accidental bcrypt gensalt round reduction from loadtesting

This commit is contained in:
Mark Haines 2015-05-07 17:45:42 +01:00
parent ef8e8ebd91
commit dfa98f911b

View file

@ -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)