-
-
User public keys
-
-
-
+
+
+
+
+
User public keys
+
+
+
+
-
-
-
-
-
- {{pubKey.format}} |
- {{pubKey.shortKey}} |
- {{pubKey.comment}} |
-
-
-
-
+
+
+
+
+ {{pubKey.format}} |
+ {{pubKey.shortKey}} |
+ {{pubKey.comment}} |
+
+
+
+
+
\ No newline at end of file
diff --git a/refstack-ui/app/components/profile/profileController.js b/refstack-ui/app/components/profile/profileController.js
index f0ba3840..6d3c4105 100644
--- a/refstack-ui/app/components/profile/profileController.js
+++ b/refstack-ui/app/components/profile/profileController.js
@@ -14,9 +14,9 @@ refstackApp.factory('PubKeys',
refstackApp.controller('profileController',
[
- '$scope', '$http', 'refstackApiUrl', '$state', 'PubKeys',
+ '$scope', '$http', 'refstackApiUrl', 'PubKeys',
'$modal', 'raiseAlert',
- function($scope, $http, refstackApiUrl, $state,
+ function($scope, $http, refstackApiUrl,
PubKeys, $modal, raiseAlert) {
'use strict';
@@ -67,7 +67,8 @@ refstackApp.controller('profileController',
$scope.showRes = function(pubKey){
raiseAlert('success', '', pubKey.pubkey);
};
- $scope.updatePubKeys();
+ $scope.authRequest = $scope.auth.doSignCheck()
+ .then($scope.updatePubKeys);
}
]);
diff --git a/refstack-ui/app/components/results/results.html b/refstack-ui/app/components/results/results.html
index a0f3242b..c4b98bd8 100644
--- a/refstack-ui/app/components/results/results.html
+++ b/refstack-ui/app/components/results/results.html
@@ -40,7 +40,7 @@