Skip to content
Snippets Groups Projects
Commit dfa98f91 authored by Mark Haines's avatar Mark Haines
Browse files

revert accidental bcrypt gensalt round reduction from loadtesting

parent ef8e8ebd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment