mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Fixing formatting to be compatible with upstream repo for login disabling patch
This commit is contained in:
parent
516bc48a33
commit
e70ad3d493
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ AUTH_CLASSES = [\
|
||||||
|
|
||||||
#If AUTH is disabled, we just use our "bypass" authentication middleware
|
#If AUTH is disabled, we just use our "bypass" authentication middleware
|
||||||
if bool(os.getenv("PAPERLESS_DISABLE_LOGIN","false").lower() in ("yes", "y", "1", "t", "true")):
|
if bool(os.getenv("PAPERLESS_DISABLE_LOGIN","false").lower() in ("yes", "y", "1", "t", "true")):
|
||||||
AUTH_CLASSES = ['paperless.auto_auth.Middleware']
|
AUTH_CLASSES = ['paperless.auto_auth.Middleware']
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = [
|
MIDDLEWARE_CLASSES = [
|
||||||
'django.middleware.security.SecurityMiddleware',
|
'django.middleware.security.SecurityMiddleware',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue