From 410025769a5f59469722704cdb1d53bfe1d20ba0 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 20 Oct 2017 16:13:29 +0800 Subject: 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 --- utils/test/testapi/opnfv_testapi/cmd/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/test/testapi/opnfv_testapi/cmd/server.py') diff --git a/utils/test/testapi/opnfv_testapi/cmd/server.py b/utils/test/testapi/opnfv_testapi/cmd/server.py index b7d3caa20..011a6cd6e 100644 --- a/utils/test/testapi/opnfv_testapi/cmd/server.py +++ b/utils/test/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', ) -- cgit 1.2.3-korg