mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 12:45:03 -04:00
pynacl-0.3.0 was released so we can finally start using it directly from pypi
This commit is contained in:
parent
97a64f3ebe
commit
ef8e8ebd91
2 changed files with 2 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue