mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2025-01-30 20:03:02 +00:00
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"])
|
||||
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 = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user