delete password of deleted account
This commit is contained in:
parent
d6e9097d80
commit
2a8dc40aeb
|
@ -66,7 +66,7 @@ def import_comptes(cur):
|
||||||
update_line(idx, n, row["pseudo"])
|
update_line(idx, n, row["pseudo"])
|
||||||
if row["type"] == "personne":
|
if row["type"] == "personne":
|
||||||
# sanitize password
|
# sanitize password
|
||||||
if row["passwd"] != "*|*":
|
if row["passwd"] != "*|*" and not row["deleted"]:
|
||||||
passwd_nk15 = "$".join(["custom_nk15", "1", row["passwd"]])
|
passwd_nk15 = "$".join(["custom_nk15", "1", row["passwd"]])
|
||||||
else:
|
else:
|
||||||
passwd_nk15 = ''
|
passwd_nk15 = ''
|
||||||
|
|
Loading…
Reference in New Issue