summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/cmd
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-18 20:06:26 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-18 20:06:26 +0800
commitc6bda58ba44dddb9151862d75a53224e7ad03227 (patch)
tree1d8e74ee8eeb3d7b69dd350396fb009a5d3e8a0c /testapi/opnfv_testapi/cmd
parentd57892f46ca4864f2188d0e4fccb97d3987c10d1 (diff)
support showing user's specified contents after signin
Change-Id: Ia8897860757a2395873ff6972a508c38d7139854 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/cmd')
-rw-r--r--testapi/opnfv_testapi/cmd/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/cmd/server.py b/testapi/opnfv_testapi/cmd/server.py
index 2696bb3..545d5e3 100644
--- a/testapi/opnfv_testapi/cmd/server.py
+++ b/testapi/opnfv_testapi/cmd/server.py
@@ -64,7 +64,8 @@ def make_app():
url_mappings.mappings,
db=get_db(),
debug=CONF.api_debug,
- auth=CONF.api_authenticate
+ auth=CONF.api_authenticate,
+ cookie_secret='opnfv-testapi',
)