Fixed password reset for QMS

This commit is contained in:
2010-05-09 23:53:04 +01:00
parent ca47184a10
commit 0208d1fc50

View File

@@ -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