diff options
-rw-r--r-- | cli/actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/actions.js b/cli/actions.js index ea2a3a1..a862b4b 100644 --- a/cli/actions.js +++ b/cli/actions.js | |||
@@ -63,7 +63,7 @@ function login(uri) { | |||
63 | console.log('Using server', server.cyan); | 63 | console.log('Using server', server.cyan); |
64 | 64 | ||
65 | var username = readlineSync.question('Username: '); | 65 | var username = readlineSync.question('Username: '); |
66 | var password = readlineSync.question('Password: ', { noEchoBack: true }); | 66 | var password = readlineSync.question('Password: ', { hideEchoBack: true, mask: '' }); |
67 | 67 | ||
68 | superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) { | 68 | superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) { |
69 | if (error && error.code === 'ENOTFOUND') { | 69 | if (error && error.code === 'ENOTFOUND') { |