Kaydet (Commit) 23529fb1 authored tarafından Curtis Maloney's avatar Curtis Maloney Kaydeden (comit) Tim Graham

Explicitly passed rounds as rounds to bcrypt.gensalt()

üst 276356b3
......@@ -286,7 +286,7 @@ class BCryptSHA256PasswordHasher(BasePasswordHasher):
def salt(self):
bcrypt = self._load_library()
return bcrypt.gensalt(self.rounds)
return bcrypt.gensalt(rounds=self.rounds)
def encode(self, password, salt):
bcrypt = self._load_library()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment