mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fixing formatting to be compatible with upstream repo for login disabling patch
This commit is contained in:
parent
516bc48a33
commit
e70ad3d493
@ -85,7 +85,7 @@ AUTH_CLASSES = [\
|
||||
|
||||
#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")):
|
||||
AUTH_CLASSES = ['paperless.auto_auth.Middleware']
|
||||
AUTH_CLASSES = ['paperless.auto_auth.Middleware']
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
|
Loading…
x
Reference in New Issue
Block a user