mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fixing formatting to be compatible with upstream repo for login disabling patch
This commit is contained in:
		| @@ -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', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matt
					Matt