mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-11 21:26:24 +00:00
remove username request from the signup process
This commit is contained in:
parent
08b3db717e
commit
137473353c
@ -111,7 +111,7 @@ exports.logout = {
|
|||||||
exports.signup = {
|
exports.signup = {
|
||||||
signature: 'signup',
|
signature: 'signup',
|
||||||
description: 'signup to resin.io',
|
description: 'signup to resin.io',
|
||||||
help: 'Use this command to signup for a resin.io account.\n\nIf signup is successful, you\'ll be logged in to your new user automatically.\n\nExamples:\n\n $ resin signup\n Email: me@mycompany.com\n Username: johndoe\n Password: ***********\n\n $ resin whoami\n johndoe',
|
help: 'Use this command to signup for a resin.io account.\n\nIf signup is successful, you\'ll be logged in to your new user automatically.\n\nExamples:\n\n $ resin signup\n Email: johndoe@acme.com\n Password: ***********\n\n $ resin whoami\n johndoe',
|
||||||
action: function(params, options, done) {
|
action: function(params, options, done) {
|
||||||
var form, resin, validation;
|
var form, resin, validation;
|
||||||
resin = require('resin-sdk-preconfigured');
|
resin = require('resin-sdk-preconfigured');
|
||||||
@ -125,10 +125,6 @@ exports.signup = {
|
|||||||
name: 'email',
|
name: 'email',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
validate: validation.validateEmail
|
validate: validation.validateEmail
|
||||||
}, {
|
|
||||||
message: 'Username:',
|
|
||||||
name: 'username',
|
|
||||||
type: 'input'
|
|
||||||
}, {
|
}, {
|
||||||
message: 'Password:',
|
message: 'Password:',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
|
@ -240,8 +240,7 @@ If signup is successful, you'll be logged in to your new user automatically.
|
|||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ resin signup
|
$ resin signup
|
||||||
Email: me@mycompany.com
|
Email: johndoe@acme.com
|
||||||
Username: johndoe
|
|
||||||
Password: ***********
|
Password: ***********
|
||||||
|
|
||||||
$ resin whoami
|
$ resin whoami
|
||||||
|
@ -150,8 +150,7 @@ exports.signup =
|
|||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ resin signup
|
$ resin signup
|
||||||
Email: me@mycompany.com
|
Email: johndoe@acme.com
|
||||||
Username: johndoe
|
|
||||||
Password: ***********
|
Password: ***********
|
||||||
|
|
||||||
$ resin whoami
|
$ resin whoami
|
||||||
@ -170,10 +169,6 @@ exports.signup =
|
|||||||
name: 'email'
|
name: 'email'
|
||||||
type: 'input'
|
type: 'input'
|
||||||
validate: validation.validateEmail
|
validate: validation.validateEmail
|
||||||
,
|
|
||||||
message: 'Username:'
|
|
||||||
name: 'username'
|
|
||||||
type: 'input'
|
|
||||||
,
|
,
|
||||||
message: 'Password:'
|
message: 'Password:'
|
||||||
name: 'password'
|
name: 'password'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user