summaryrefslogtreecommitdiff
path: root/store.py
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-04-16 18:09:18 +0100
committerRichard Jones <richard@mechanicalcat.net>2013-04-16 18:09:18 +0100
commit4e0bab4ee6af0876b718ec63b0f2be27464fa75a (patch)
treed66bb90e34769dbf2efc470672c703f3944e4cfd /store.py
parent5f3fccb5e226df2b28d4f0f88f828483d4565271 (diff)
downloaddecorator-4e0bab4ee6af0876b718ec63b0f2be27464fa75a.tar.gz
bugfix
Diffstat (limited to 'store.py')
-rw-r--r--store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/store.py b/store.py
index e53c6df..91eb982 100644
--- a/store.py
+++ b/store.py
@@ -2226,7 +2226,7 @@ class Store:
def setpasswd(self, username, password, hashed=False):
if not hashed:
- self.config.passlib.encrypt(password)
+ password = self.config.passlib.encrypt(password)
safe_execute(self.get_cursor(), '''update users set password=%s
where name=%s''', (password, username))