From 5645fdc8b92d9e1ffed69ca79bbd3261c65e195a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 14 May 2015 15:21:33 -0700 Subject: [PATCH] send user to token creation page --- .../resources/describe-settings.json | 2 +- domain-server/resources/web/js/settings.js | 26 ++----------------- domain-server/src/DomainServer.cpp | 3 ++- .../src/DomainServerSettingsManager.h | 1 + libraries/networking/src/AccountManager.h | 6 ++--- 5 files changed, 9 insertions(+), 29 deletions(-) diff --git a/domain-server/resources/describe-settings.json b/domain-server/resources/describe-settings.json index c6139d3767..252f1d05f6 100644 --- a/domain-server/resources/describe-settings.json +++ b/domain-server/resources/describe-settings.json @@ -6,7 +6,7 @@ { "name": "access_token", "label": "Access Token", - "help": "This is your OAuth access token to connect this domain-server with your High Fidelity account.
It can be generated by clicking the 'Connect Account' button above.
Alternatively, you can go to the My Security page of your account and generate a token with the 'domains' scope and paste it here.", + "help": "This is your OAuth access token to connect this domain-server with your High Fidelity account.
It can be generated by clicking the 'Connect Account' button above.
You can also go to the My Security page of your account and generate a token with the 'domains' scope and paste it here.", "advanced": true }, { diff --git a/domain-server/resources/web/js/settings.js b/domain-server/resources/web/js/settings.js index 40c278b136..a6cb936581 100644 --- a/domain-server/resources/web/js/settings.js +++ b/domain-server/resources/web/js/settings.js @@ -83,7 +83,7 @@ var viewHelpers = { if (setting.href) { form_group += "" + + common_attrs("btn " + setting.classes) + " target='_blank' onclick='this.blur();'>" + setting.button_label + ""; } else { form_group += "