# HG changeset patch # User Ludovic Chabant # Date 1392247469 28800 # Node ID e845ff2b4bd86efccc429b9cf51b8bf5ffc26783 # Parent 3a16f55687d4f8a9a92a77be85f944f7e014a791 Fixed a bug with Bcrypt fallback. diff -r 3a16f55687d4 -r e845ff2b4bd8 wikked/bcryptfallback.py --- a/wikked/bcryptfallback.py Tue Feb 11 08:12:38 2014 -0800 +++ b/wikked/bcryptfallback.py Wed Feb 12 15:24:29 2014 -0800 @@ -13,7 +13,7 @@ def generate_password_hash(password): return hashlib.sha512(password).hexdigest() - def check_password_hash(self, reference, check): + def check_password_hash(reference, check): check_hash = hashlib.sha512(check).hexdigest() return check_hash == reference