Enable rate limiting of V2 requests
This commit is contained in:
parent
df4ab8565c
commit
31fdb94436
2 changed files with 4 additions and 2 deletions
|
@ -54,6 +54,8 @@ def generate_registry_jwt():
|
|||
logger.debug('Scope request: %s', scope_param)
|
||||
|
||||
user = get_authenticated_user()
|
||||
if user is None:
|
||||
abort(404)
|
||||
|
||||
access = []
|
||||
if scope_param is not None:
|
||||
|
|
Reference in a new issue