diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-01-20 11:07:40 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-01-20 11:07:40 +0100 |
commit | 0ae5844018f67dcdfc2c72251164b72048ba7392 (patch) | |
tree | 0a5fcfc52ff8090c4a96ed7572732b41c6ab5554 /server/sonar-web/src/main/js/apps/users/tokens-view.js | |
parent | f59c1f35ccfc62df60dc97a7290c8416852ad234 (diff) | |
download | sonarqube-0ae5844018f67dcdfc2c72251164b72048ba7392.tar.gz sonarqube-0ae5844018f67dcdfc2c72251164b72048ba7392.zip |
display name of just created token
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/tokens-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/tokens-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/tokens-view.js b/server/sonar-web/src/main/js/apps/users/tokens-view.js index 56c0b8e16f4..12989a52a52 100644 --- a/server/sonar-web/src/main/js/apps/users/tokens-view.js +++ b/server/sonar-web/src/main/js/apps/users/tokens-view.js @@ -58,7 +58,7 @@ export default Modal.extend({ let tokenName = this.$('.js-generate-token-form input').val(); generateToken(this.model.id, tokenName) .then(response => { - this.newToken = response.token; + this.newToken = response; this.requestTokens(); }) .catch(error => { |