🩹(backend) fix duplication due to a bad rebase
While rebasing, I made few mistake with a settings wrongly renamed. Oopsie fix this huge mistake. Plus, a line was duplicated in Event authentication.
This commit is contained in:
committed by
aleb_the_flash
parent
6b03ebb393
commit
10705ca3ac
@@ -47,8 +47,6 @@ class StorageEventAuthentication(BaseAuthentication):
|
||||
|
||||
def authenticate(self, request):
|
||||
"""Validate the Bearer token from the Authorization header."""
|
||||
if not settings.RECORDING_ENABLE_STORAGE_EVENT_AUTH:
|
||||
return MachineUser(), None
|
||||
|
||||
if not settings.RECORDING_ENABLE_STORAGE_EVENT_AUTH:
|
||||
return MachineUser(), None
|
||||
|
||||
Reference in New Issue
Block a user