The note account must be active in order to have access to the Rest Framework API
This commit is contained in:
parent
84be9d0062
commit
654492f9e9
|
@ -114,9 +114,10 @@ class Command(ImportCommand):
|
||||||
else:
|
else:
|
||||||
passwd_nk15 = ''
|
passwd_nk15 = ''
|
||||||
|
|
||||||
# Note account should have no password
|
# Note account should have no password and be active
|
||||||
if int(row["idbde"]) == 3508:
|
if int(row["idbde"]) == 3508:
|
||||||
passwd_nk15 = "ipbased$127.0.0.1"
|
passwd_nk15 = "ipbased$127.0.0.1"
|
||||||
|
row["bloque"] = False
|
||||||
|
|
||||||
if row["idbde"] not in MAP_IDBDE_PROMOTION:
|
if row["idbde"] not in MAP_IDBDE_PROMOTION:
|
||||||
# NK12 bug. Applying default values
|
# NK12 bug. Applying default values
|
||||||
|
|
Loading…
Reference in New Issue