mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 03:56:31 +01:00
Revert "Enhancement: support remote user auth directly against API (DRF)" (#5534)
This commit is contained in:
parent
530e57151d
commit
283ced56d1
4 changed files with 11 additions and 112 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue