Clear Commons credentials on disable
This commit is contained in:
parent
a3108335f3
commit
9c366a4bcb
|
@ -1393,6 +1393,8 @@ Zotero.Prefs = new function(){
|
||||||
}
|
}
|
||||||
else if (commonsEnable == 'false') {
|
else if (commonsEnable == 'false') {
|
||||||
Zotero.Commons.enabled = false;
|
Zotero.Commons.enabled = false;
|
||||||
|
Zotero.Commons.accessKey = '';
|
||||||
|
Zotero.Commons.secretKey = ''
|
||||||
ZoteroPane.collectionsView.refresh();
|
ZoteroPane.collectionsView.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user