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:41 +02:00
parent 6cc3cf4174
commit 58aa4983e3
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ def give_note_account_permissions(apps, schema_editor):
m.save()
# By default, the note account is only authorized to be logged from localhost.
note.password = "ipbased$127.0.0.1"
note.is_active = False
note.is_active = True
note.save()
# Ensure that the note of the account is disabled
note.note.inactivity_reason = 'forced'

@ -1 +1 @@
Subproject commit 84be9d0062beee2c1dc09f2f7ef082e6f6240ad1
Subproject commit 654492f9e9262c37fecb43261f02557aeb6e1cc1