parent
972e4be811
commit
08d7b4babe
23 changed files with 1290 additions and 630 deletions
|
@ -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'));
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue