lib/vantage-auth-basic.js
function gather(cbk) {
      ask(questions[0], function(user) {
        state.user = user;
        ask(questions[1], function(pass){
          state.pass = pass;
          cbk(state.user, state.pass);
        }, state.pass);
      }, state.user);
    }
function gather(cbk) {
      ask(questions[0], function(user) {
        state.user = user;
        ask(questions[1], function(pass){
          state.pass = pass;
          cbk(state.user, state.pass);
        }, state.pass);
      }, state.user);
    }
function gather ( cbk ) { ask ( questions [ 0 ] , function ( user ) { state . user = user ; ask ( questions [ 1 ] , function ( pass ) { state . pass = pass ; cbk ( state . user , state . pass ) ; } , state . pass ) ; } , state . user ) ; }
Ask for a user and password. If a user is passed in, just ask for a password and skip the user.
Ask for a user and password . If a user is passed in just ask for a password and skip the user .