Skip to content
Snippets Groups Projects
Commit 58aa4983 authored by ynerant's avatar ynerant
Browse files

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

parent 6cc3cf41
No related branches found
No related tags found
1 merge request!136PC Kfet
Pipeline #8787 passed with stages
in 12 minutes and 9 seconds
......@@ -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'
......
Subproject commit 84be9d0062beee2c1dc09f2f7ef082e6f6240ad1
Subproject commit 654492f9e9262c37fecb43261f02557aeb6e1cc1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment