From 9e36409f1bf52a6fd510c4f4896d85761b59cfa9 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 'testapi/3rd_party') diff --git a/testapi/3rd_party/static/testapi-ui/components/profile/profile.html b/testapi/3rd_party/static/testapi-ui/components/profile/profile.html index dc97c41..763f5d1 100644 --- a/testapi/3rd_party/static/testapi-ui/components/profile/profile.html +++ b/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/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js b/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js index 0660e19..5dbdf7b 100644 --- a/testapi/3rd_party/static/testapi-ui/components/profile/profileController.js +++ b/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