mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
Use Services for an nsILoginManager initialization
This commit is contained in:
parent
8f844251c8
commit
0678f13e96
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue