diff --git a/dislocker.py b/dislocker.py index b45ef14..71a0aac 100644 --- a/dislocker.py +++ b/dislocker.py @@ -908,7 +908,7 @@ class DL(): cursor.execute("SELECT * FROM pc_list WHERE pc_number = %s", (pc_number,)) pc_list = cursor.fetchall() if pc_list: - cursor.execute("DELETE FROM pc_list WHERE pc_number = %s", (pc_number,)) + cursor.execute("UPDATE pc_list SET using_member_id = NULL, password_hash = NULL, pc_uuid = NULL, pc_token = NULL, master_password = NULL, detail = NULL, alt_name = NULL WHERE pc_number = %s", (pc_number,)) self.db.commit() return {"result": 0, "about": "ok"} else: