mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-30 08:03:55 +00:00
Open dashboardUrl instead of remoteUrl in auth login
This commit is contained in:
parent
806678ee5f
commit
1ed9ae7d60
@ -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]',
|
||||
|
@ -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]'
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user