mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-10 06:04:15 +00:00
c9c6b097d0
* add support for auth proxies * Improve docs
6 lines
207 B
Python
6 lines
207 B
Python
from django.conf import settings
|
|
from django.contrib.auth.middleware import RemoteUserMiddleware
|
|
|
|
|
|
class CustomRemoteUserMiddleware(RemoteUserMiddleware):
|
|
header = settings.LD_AUTH_PROXY_USERNAME_HEADER
|