changeset 203:e845ff2b4bd8

Fixed a bug with Bcrypt fallback.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 12 Feb 2014 15:24:29 -0800
parents 3a16f55687d4
children e6c2048e2c94
files wikked/bcryptfallback.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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