Update initgui.js

This commit is contained in:
jelveh
2025-04-13 16:52:23 -07:00
parent f14b0d1ac9
commit 4ea7754133
+3 -5
View File
@@ -846,11 +846,9 @@ window.initgui = async function(options){
document.dispatchEvent(new Event("login", { bubbles: true}));
},
error: async (err) => {
// The solution to any error that might happen here is to reload the page.
// We only try to sign into a temporary user on the first visit, so if it
// didn't work reloading the page will produce the login screen.
console.log('could not create temporary user', err);
window.location.reload();
UIAlert({
message: html_encode(err.responseText),
});
}
});
}