Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
revert accidental bcrypt gensalt round reduction from loadtesting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed May 7, 2015
1 parent ef8e8eb commit dfa98f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def register(self, localpart=None, password=None):
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)
Expand Down

0 comments on commit dfa98f9

Please sign in to comment.