remove debug statement

This commit is contained in:
Laura Klünder 2023-11-06 13:14:42 +01:00
parent aa2df8d3c5
commit d69a9c4be0

View file

@ -43,7 +43,6 @@ class FirmwareViewSet(CreateModelMixin, ReadOnlyModelViewSet):
# check only for not-secret auth
SessionAuthentication().enforce_csrf(request)
print(request.user)
if not request.user.is_superuser:
# todo: make this proper
raise PermissionDenied()