diff --git a/management/commands/import_account.py b/management/commands/import_account.py index c38c856..0eab0a4 100644 --- a/management/commands/import_account.py +++ b/management/commands/import_account.py @@ -114,9 +114,10 @@ class Command(ImportCommand): else: passwd_nk15 = '' - # Note account should have no password + # Note account should have no password and be active if int(row["idbde"]) == 3508: passwd_nk15 = "ipbased$127.0.0.1" + row["bloque"] = False if row["idbde"] not in MAP_IDBDE_PROMOTION: # NK12 bug. Applying default values