Commit 0af9051c by Johannes Zellner

Do not show * for password entry

parent d6f2f185
Showing with 1 additions and 1 deletions
......@@ -63,7 +63,7 @@ function login(uri) {
console.log('Using server', server.cyan);
var username = readlineSync.question('Username: ');
var password = readlineSync.question('Password: ', { noEchoBack: true });
var password = readlineSync.question('Password: ', { hideEchoBack: true, mask: '' });
superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) {
if (error && error.code === 'ENOTFOUND') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment