From 2ff0fa38ed9fe75f053ae461ef41899c1eb9ca71 Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Wed, 19 Feb 2014 15:49:46 -0800 Subject: [PATCH] Correctly check for current username when deploying --- tools/deploy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/deploy.js b/tools/deploy.js index a05db5d40f..201576e253 100644 --- a/tools/deploy.js +++ b/tools/deploy.js @@ -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" +