Open guoxiuyan opened 9 years ago
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
Changes Unknown when pulling e682fda3c386d7cd87714d076e344b309c54e751 on guoxiuyan:Fix_Token_True into \ on docker:master**.
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