summaryrefslogtreecommitdiffstats
path: root/testapi/etc
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-20 16:13:29 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-20 16:33:11 +0800
commit839c1468cbe2025e759458bbe82c2f99a5ea347f (patch)
tree27afeb860450ec588c858e8370a4819da3e0bc01 /testapi/etc
parentac50de317715d09a2b6583ecbecc212338df6df7 (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/etc')
-rw-r--r--testapi/etc/config.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/testapi/etc/config.ini b/testapi/etc/config.ini
index 8d0bde2..86cb0ca 100644
--- a/testapi/etc/config.ini
+++ b/testapi/etc/config.ini
@@ -16,7 +16,8 @@ results_per_page = 20
# With debug_on set to true, error traces will be shown in HTTP responses
debug = True
-authenticate = False
+token_check = False
+authenticate = True
[ui]
url = http://localhost:8000