summaryrefslogtreecommitdiffstats
path: root/utils/test/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
commit410025769a5f59469722704cdb1d53bfe1d20ba0 (patch)
tree75e0f7ea185254aeba0314a53b8b59da033fecc4 /utils/test/testapi/etc
parentdfe4f90bdcd765d3045ee1a9c6f00ea0b394e665 (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 'utils/test/testapi/etc')
-rw-r--r--utils/test/testapi/etc/config.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/testapi/etc/config.ini b/utils/test/testapi/etc/config.ini
index 8d0bde20b..86cb0caa7 100644
--- a/utils/test/testapi/etc/config.ini
+++ b/utils/test/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