user settings fixes
This commit is contained in:
@@ -69,6 +69,8 @@ class DatabaseHelper:
|
||||
try:
|
||||
self.cursor.execute("UPDATE `users` SET `password` = ? WHERE (`private_key` = ? AND `password` = ?)", (password, user_privatekey, old_password,))
|
||||
self.commit()
|
||||
if self.cursor.rowcount < 1:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user