Skip to content

Commit

Permalink
Merge pull request learningequality#10866 from nucleogenesis/fix--new…
Browse files Browse the repository at this point in the history
…user-is-superuser

First user made is superuser
  • Loading branch information
rtibbles authored Jun 19, 2023
2 parents fd472d4 + d12de02 commit 2e816ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kolibri/core/device/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def create(self, validated_data): # noqa C901
if DevicePermissions.objects.count() == 0:
DevicePermissions.objects.create(
user=superuser,
is_superuser=not is_soud,
is_superuser=True,
can_manage_content=True,
)

Expand Down

0 comments on commit 2e816ba

Please sign in to comment.