Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Fix DISABLE_TOKEN_AUTH flag check in docker_registry/toolkit.py #921

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker_registry/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down