diff --git a/src/paperless/settings.py b/src/paperless/settings.py index ec7449f64..199a03dd6 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -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',