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 530e57151d
commit 283ced56d1
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