From 0208d1fc505ec8ccfc8c18b407ca805aab170bc1 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 9 May 2010 23:53:04 +0100 Subject: [PATCH] Fixed password reset for QMS --- sso/services/qms/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sso/services/qms/__init__.py b/sso/services/qms/__init__.py index 4b6eb95..a7f4be9 100644 --- a/sso/services/qms/__init__.py +++ b/sso/services/qms/__init__.py @@ -79,7 +79,7 @@ class QMSService(BaseService): def enable_user(self, uid, password): """ Enable a user """ - pwhash, salt = self._gen_mw_hash(password) + pwhash, salt = self._gen_pwhash(password) self._dbcursor.execute(self.SQL_ENABLE_USER, [pwhash, salt, uid]) self._db.connection.commit() return True