[middleware] removed decorator from acl_middleware

This commit is contained in:
Maxime Alves LIRMM 2020-07-07 11:10:38 +02:00
parent 4be18f8344
commit 65e0d09ff8
1 changed files with 0 additions and 1 deletions

View File

@ -2,7 +2,6 @@
from starlette.requests import Request
from starlette.exceptions import HTTPException
@app.middleware('http')
async def acl_middleware(request: Request, call_next):
""" Checks the "acls" key in the scope and applies the
corresponding functions in the current module's acl lib.