[Python-modules-commits] [python-django] 05/08: Fixed #26016 -- Restore compatibility with py-bcrypt
Raphaël Hertzog
hertzog at moszumanska.debian.org
Wed Dec 30 18:05:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
hertzog pushed a commit to branch debian/master
in repository python-django.
commit 875446913d7e87fc586e1ec405849b3892fd7239
Author: Raphaël Hertzog <hertzog at debian.org>
Date: Wed Dec 30 18:31:11 2015 +0100
Fixed #26016 -- Restore compatibility with py-bcrypt
At least until Debian has a newer bcrypt available in Debian unstable.
Bug: https://code.djangoproject.com/ticket/26016
Last-Update: 2015-12-30
Patch-Name: fix-26016-restore-compat-with-py-bcrypt.patch
---
django/contrib/auth/hashers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py
index 3d585be..0188f4a 100644
--- a/django/contrib/auth/hashers.py
+++ b/django/contrib/auth/hashers.py
@@ -286,7 +286,7 @@ class BCryptSHA256PasswordHasher(BasePasswordHasher):
def salt(self):
bcrypt = self._load_library()
- return bcrypt.gensalt(rounds=self.rounds)
+ return bcrypt.gensalt(self.rounds)
def encode(self, password, salt):
bcrypt = self._load_library()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django.git
More information about the Python-modules-commits
mailing list