Skip to content
Snippets Groups Projects
Commit 2a8dc40a authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

delete password of deleted account

parent d6e9097d
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ def import_comptes(cur):
update_line(idx, n, row["pseudo"])
if row["type"] == "personne":
# sanitize password
if row["passwd"] != "*|*":
if row["passwd"] != "*|*" and not row["deleted"]:
passwd_nk15 = "$".join(["custom_nk15", "1", row["passwd"]])
else:
passwd_nk15 = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment