Use Services for an nsILoginManager initialization
This commit is contained in:
parent
95bb107867
commit
4a22184156
|
@ -381,9 +381,7 @@ Zotero.Sync.Data.Local = {
|
|||
*/
|
||||
_getAPIKeyLoginInfo: function () {
|
||||
try {
|
||||
var loginManager = Components.classes["@mozilla.org/login-manager;1"]
|
||||
.getService(Components.interfaces.nsILoginManager);
|
||||
var logins = loginManager.findLogins(
|
||||
var logins = Services.logins.findLogins(
|
||||
{},
|
||||
this._loginManagerHost,
|
||||
null,
|
||||
|
|
Loading…
Reference in New Issue
Block a user