diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-10-20 16:13:29 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-10-20 16:33:11 +0800 |
commit | 839c1468cbe2025e759458bbe82c2f99a5ea347f (patch) | |
tree | 27afeb860450ec588c858e8370a4819da3e0bc01 /testapi/opnfv_testapi/cmd | |
parent | ac50de317715d09a2b6583ecbecc212338df6df7 (diff) |
allow authentication to be disabled
in local deployment situation, authentication can be disabled by
setting authenticate=False of ui section in config.ini
JIRA: RELENG-324
Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/cmd')
-rw-r--r-- | testapi/opnfv_testapi/cmd/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/cmd/server.py b/testapi/opnfv_testapi/cmd/server.py index b7d3caa..011a6cd 100644 --- a/testapi/opnfv_testapi/cmd/server.py +++ b/testapi/opnfv_testapi/cmd/server.py @@ -42,7 +42,7 @@ def make_app(): return swagger.Application( url_mappings.mappings, debug=CONF.api_debug, - auth=CONF.api_authenticate, + auth=CONF.api_token_check, cookie_secret='opnfv-testapi', ) |