зеркало из https://github.com/mozilla/pjs.git
fix 'logging in' debug string so it prints the actual username being used
This commit is contained in:
Родитель
d22e1ed5a8
Коммит
a4a03dd03a
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче