adding support for snappymail in subdirectories

This commit is contained in:
Philipp Mundhenk 2024-05-26 17:14:58 +02:00
parent 8d3f4f5e1d
commit 6ef3390080

View file

@ -11,11 +11,11 @@
ForwardProxyAuth = () => {
if (auto_login) {
var xhr = new XMLHttpRequest();
xhr.open("GET", "/?UserHeaderSet", true);
xhr.open("GET", "?UserHeaderSet", true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
window.location.href = "/?ProxyAuth";
window.location.href = "?ProxyAuth";
}
};