Revert "Enhancement: support remote user auth directly against API (DRF)" (#5534)

This commit is contained in:
shamoon
2024-01-24 11:00:44 -08:00
committed by GitHub
parent 5dd863d4f4
commit 1b5135f2b9
4 changed files with 11 additions and 112 deletions

View File

@@ -47,11 +47,3 @@ class HttpRemoteUserMiddleware(PersistentRemoteUserMiddleware):
"""
header = settings.HTTP_REMOTE_USER_HEADER_NAME
class PaperlessRemoteUserAuthentication(authentication.RemoteUserAuthentication):
"""
REMOTE_USER authentication for DRF which overrides the default header.
"""
header = settings.HTTP_REMOTE_USER_HEADER_NAME