remove debug statement
This commit is contained in:
parent
aa2df8d3c5
commit
d69a9c4be0
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ class FirmwareViewSet(CreateModelMixin, ReadOnlyModelViewSet):
|
||||||
# check only for not-secret auth
|
# check only for not-secret auth
|
||||||
SessionAuthentication().enforce_csrf(request)
|
SessionAuthentication().enforce_csrf(request)
|
||||||
|
|
||||||
print(request.user)
|
|
||||||
if not request.user.is_superuser:
|
if not request.user.is_superuser:
|
||||||
# todo: make this proper
|
# todo: make this proper
|
||||||
raise PermissionDenied()
|
raise PermissionDenied()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue