mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-10-30 22:59:52 +01:00 
			
		
		
		
	delete password of deleted account
This commit is contained in:
		| @@ -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 = '' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user