fix: force show login form on WASM doc

This commit is contained in:
Accusys
2026-05-18 12:15:37 +08:00
parent d035e9fa9f
commit b151494db8

View File

@@ -210,11 +210,7 @@ async function initApp() {
async function init() { async function init() {
// Hide sidebar until authenticated // Hide sidebar until authenticated
document.getElementById('sidebar').style.display = 'none'; document.getElementById('sidebar').style.display = 'none';
if (await loginUser('demo', 'demo')) { showLoginForm();
initApp();
} else {
showLoginForm();
}
} }
init(); init();