1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-25 00:42:23 +00:00

The note account must be active in order to have access to the Rest Framework API

This commit is contained in:
Yohann D'ANELLO 2020-10-20 10:30:38 +02:00
parent 84be9d0062
commit 654492f9e9

View File

@ -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