pynacl-0.3.0 was released so we can finally start using it directly from pypi

This commit is contained in:
Mark Haines 2015-05-07 16:46:38 +01:00
parent 97a64f3ebe
commit ef8e8ebd91
2 changed files with 2 additions and 7 deletions

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())
password_hash = bcrypt.hashpw(password, bcrypt.gensalt(1))
if localpart:
yield self.check_username(localpart)