Skip to content
This repository has been 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

Conversation

guoxiuyan
Copy link

When we set DISABLE_TOKEN_AUTH to true, there are two functions that
should check the flag, but only one function does.

So we add the check in both check_token() and validate_parent_access().

Signed-off-by: Guo Xiuyan guoxiuyan@huawei.com

When we set DISABLE_TOKEN_AUTH to true, there are two functions that
should check the flag, but only one function does.

Signed-off-by: Guo Xiuyan <guoxiuyan@huawei.com>
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e682fda on guoxiuyan:Fix_Token_True into * on docker:master*.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants