From a4a03dd03a65297b4433e6119fbe74297e00bb87 Mon Sep 17 00:00:00 2001 From: Dan Mills Date: Mon, 1 Dec 2008 14:17:44 -0800 Subject: [PATCH] fix 'logging in' debug string so it prints the actual username being used --- services/sync/modules/service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index 6193d91b02c..8d88fc7e7cf 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -453,8 +453,6 @@ WeaveSvc.prototype = { _login: function WeaveSvc__login(username, password, passphrase) { let self = yield; - this._log.debug("Logging in user " + this.username); - if (typeof(username) != 'undefined') this.username = username; if (typeof(password) != 'undefined') @@ -467,6 +465,8 @@ WeaveSvc.prototype = { if (!this.password) throw "No password given or found in password manager"; + this._log.debug("Logging in user " + this.username); + yield this._verifyLogin.async(this, self.cb, this.username, this.password); this._loggedIn = true;