RemoteTranslate: Fix request methods not sending cookies

This commit is contained in:
Abe Jellinek 2025-02-28 15:22:37 -05:00 committed by Dan Stillman
parent 0eefec2f3c
commit 556b571da2

View file

@ -101,7 +101,7 @@ Zotero.HTTP = new function() {
}
Zotero.debug(`HTTP ${method} ${url}${logBody}`);
var xmlhttp = new XMLHttpRequest();
var xmlhttp = new XMLHttpRequest({ mozAnon: false });
xmlhttp.timeout = options.timeout;
var promise = Zotero.HTTP._attachHandlers(url, xmlhttp, options);