fix: force show login form on WASM doc
This commit is contained in:
@@ -210,11 +210,7 @@ async function initApp() {
|
||||
async function init() {
|
||||
// Hide sidebar until authenticated
|
||||
document.getElementById('sidebar').style.display = 'none';
|
||||
if (await loginUser('demo', 'demo')) {
|
||||
initApp();
|
||||
} else {
|
||||
showLoginForm();
|
||||
}
|
||||
showLoginForm();
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user