From 16055e19d8d3f6cfc85a443703dabded8bee57bd Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 30 Aug 2017 11:59:46 +0800 Subject: leverage LFID as Authentication delete openid authentication add LFID authentication Change-Id: Iead144b5130bce51448024e65092fdea3bb2f07a Signed-off-by: SerenaFeng --- .../static/testapi-ui/components/profile/profile.html | 11 +++++++++-- .../static/testapi-ui/components/profile/profileController.js | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'utils/test/testapi/3rd_party') diff --git a/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profile.html b/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profile.html index dc97c41e2..763f5d120 100644 --- a/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profile.html +++ b/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profile.html @@ -3,9 +3,16 @@
- - + + + + +
User name {{auth.currentUser.fullname}}
User OpenId {{auth.currentUser.openid}}
User {{auth.currentUser.user}}
Fullname {{auth.currentUser.fullname}}
Email {{auth.currentUser.email}}
Groups +
+ {{group}}
+
+
diff --git a/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js b/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js index 0660e19f6..5dbdf7b1a 100644 --- a/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js +++ b/utils/test/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js @@ -26,7 +26,7 @@ * This is a provider for the user's uploaded public keys. */ function PubKeys($resource, testapiApiUrl) { - return $resource(testapiApiUrl + '/profile/pubkeys/:id', null, null); + return $resource(testapiApiUrl + '/user/pubkeys/:id', null, null); } angular -- cgit 1.2.3-korg