Correctly check for current username when deploying

This commit is contained in:
Emily Stark
2014-02-19 15:49:46 -08:00
parent 2f6bb62170
commit 2ff0fa38ed

View File

@@ -661,7 +661,8 @@ var claim = function (site) {
});
if (result.errorMessage) {
if (! auth.currentUsername() &&
auth.pollForRegistrationCompletion();
if (! auth.loggedInUsername() &&
auth.registrationUrl()) {
process.stderr.write(
"You need to set a password on your Meteor developer account before\n" +