New Credentials dialog

Fixes #279
This commit is contained in:
Joseph Schorr 2016-04-29 19:37:35 -04:00
parent 972e4be811
commit 08d7b4babe
23 changed files with 1290 additions and 630 deletions

View file

@ -91,8 +91,10 @@
};
ApiService.generateUserClientKey(data).then(function(resp) {
$scope.generatedClientToken = resp['key'];
$('#clientTokenModal').modal({});
$scope.context.encryptedPasswordCredentials = {
'username': $scope.context.viewuser.username,
'password': resp['key']
};
}, ApiService.errorDisplay('Could not generate token'));
};