diff --git a/docker_registry/toolkit.py b/docker_registry/toolkit.py index 5a35c88a7..3fcea22b6 100644 --- a/docker_registry/toolkit.py +++ b/docker_registry/toolkit.py @@ -119,7 +119,7 @@ def response(data=None, code=200, headers=None, raw=False): def validate_parent_access(parent_id): - if cfg.standalone: + if cfg.disable_token_auth is True or cfg.standalone is True: return True auth = _parse_auth_header() if not auth: