Fix display password for the new encryption

This commit is contained in:
Cédric Krier committed 2008-03-03 16:27:28 +01:00
1 parent bee4902c09
commit 83f98cc4cf
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ class DB(Service):
'SET language = %s ' \
'WHERE login <> \'root\'', (lang,))
cursor.commit()
cursor.execute('SELECT login, password, name ' \
cursor.execute('SELECT login, login as password, name ' \
'FROM res_user ' \
'WHERE login <> \'root\' ORDER BY login')
res = cursor.dictfetchall()