зеркало из https://github.com/mozilla/gecko-dev.git
Remove useless check for crypto methods
This commit is contained in:
Родитель
2404b54528
Коммит
38c74f2d92
|
@ -529,7 +529,6 @@ WeaveSvc.prototype = {
|
|||
|
||||
verifyPassphrase: function WeaveSvc_verifyPassphrase(username, password, passphrase)
|
||||
this._catch(this._notify("verify-passphrase", "", function() {
|
||||
if ('verifyPassphrase' in Svc.Crypto) {
|
||||
this._log.debug("Verifying passphrase");
|
||||
this.username = username;
|
||||
ID.get("WeaveID").setTempPassword(password);
|
||||
|
@ -545,7 +544,6 @@ WeaveSvc.prototype = {
|
|||
// this means no keys are present (or there's a network error)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}))(),
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче