diff options
author | 2017-08-30 11:59:46 +0800 | |
---|---|---|
committer | 2017-08-31 10:43:14 +0800 | |
commit | 16055e19d8d3f6cfc85a443703dabded8bee57bd (patch) | |
tree | fea6d6bfc7879729a2e076f1aad199ed81fedbd9 /utils/test/testapi/opnfv_testapi/ui/root.py | |
parent | 5034e8cd06f9842c7683295eb280a7c82d1756a2 (diff) |
leverage LFID as Authentication
delete openid authentication
add LFID authentication
Change-Id: Iead144b5130bce51448024e65092fdea3bb2f07a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/root.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/ui/root.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/root.py b/utils/test/testapi/opnfv_testapi/ui/root.py index 5b2c922d7..069ad5e93 100644 --- a/utils/test/testapi/opnfv_testapi/ui/root.py +++ b/utils/test/testapi/opnfv_testapi/ui/root.py @@ -1,10 +1,12 @@ -from opnfv_testapi.resources.handlers import GenericApiHandler +from opnfv_testapi.common import check from opnfv_testapi.common.config import CONF +from opnfv_testapi.resources import handlers -class RootHandler(GenericApiHandler): +class RootHandler(handlers.GenericApiHandler): def get_template_path(self): return CONF.static_path + @check.login def get(self): self.render('testapi-ui/index.html') |