fix: force show login form on WASM doc
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user