mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Code cleanup
This commit is contained in:
parent
e7daf7dae4
commit
6c3afd21b9
2 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ from django.utils.deprecation import MiddlewareMixin
|
|||
from .models import User
|
||||
|
||||
|
||||
class Middleware (MiddlewareMixin):
|
||||
class Middleware(MiddlewareMixin):
|
||||
"""
|
||||
This is a dummy authentication middleware class that creates what
|
||||
is roughly an Anonymous authenticated user so we can disable login
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue