Open dashboardUrl instead of remoteUrl in auth login

This commit is contained in:
Juan Cruz Viotti 2015-06-02 13:21:59 -04:00
parent 806678ee5f
commit 1ed9ae7d60
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
visuals = require('resin-cli-visuals');
TOKEN_URL = url.resolve(settings.get('remoteUrl'), '/preferences');
TOKEN_URL = url.resolve(settings.get('dashboardUrl'), '/preferences');
exports.login = {
signature: 'login [token]',

View File

@ -6,7 +6,7 @@ resin = require('resin-sdk')
settings = require('resin-settings-client')
visuals = require('resin-cli-visuals')
TOKEN_URL = url.resolve(settings.get('remoteUrl'), '/preferences')
TOKEN_URL = url.resolve(settings.get('dashboardUrl'), '/preferences')
exports.login =
signature: 'login [token]'

View File

@ -61,7 +61,7 @@
"resin-cli-visuals": "^0.1.0",
"resin-image": "^1.1.3",
"resin-sdk": "^1.7.3",
"resin-settings-client": "^1.0.0",
"resin-settings-client": "^1.1.0",
"resin-vcs": "^1.2.0",
"selfupdate": "^1.1.0",
"tmp": "^0.0.25",