mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use stderr for login prompt on deploy with expired token
This commit is contained in:
@@ -150,7 +150,10 @@ var authedRpc = function (options) {
|
||||
if (infoResult.statusCode === 401 && rpcOptions.promptIfAuthFails) {
|
||||
// Our authentication didn't validate, so prompt the user to log in
|
||||
// again, and resend the RPC if the login succeeds.
|
||||
var username = utils.readLine({ prompt: "Username: " });
|
||||
var username = utils.readLine({
|
||||
prompt: "Username: ",
|
||||
stream: process.stderr
|
||||
});
|
||||
var loginOptions = {
|
||||
username: username,
|
||||
suppressErrorMessage: true
|
||||
|
||||
Reference in New Issue
Block a user