mirror of https://gitlab.crans.org/bde/nk20
The note account must be active in order to have access to the Rest Framework API
This commit is contained in:
parent
6cc3cf4174
commit
58aa4983e3
|
@ -31,7 +31,7 @@ def give_note_account_permissions(apps, schema_editor):
|
||||||
m.save()
|
m.save()
|
||||||
# By default, the note account is only authorized to be logged from localhost.
|
# By default, the note account is only authorized to be logged from localhost.
|
||||||
note.password = "ipbased$127.0.0.1"
|
note.password = "ipbased$127.0.0.1"
|
||||||
note.is_active = False
|
note.is_active = True
|
||||||
note.save()
|
note.save()
|
||||||
# Ensure that the note of the account is disabled
|
# Ensure that the note of the account is disabled
|
||||||
note.note.inactivity_reason = 'forced'
|
note.note.inactivity_reason = 'forced'
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 84be9d0062beee2c1dc09f2f7ef082e6f6240ad1
|
Subproject commit 654492f9e9262c37fecb43261f02557aeb6e1cc1
|
Loading…
Reference in New Issue