From dfe464303d528bd6ff284ff7ccc422cc5df77481 Mon Sep 17 00:00:00 2001 From: Warren Date: Tue, 30 Jun 2026 07:47:52 +0800 Subject: [PATCH] Add default user 'demo' on login page --- markbase-core/src/page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/markbase-core/src/page.html b/markbase-core/src/page.html index a51a008..7ec891e 100644 --- a/markbase-core/src/page.html +++ b/markbase-core/src/page.html @@ -489,7 +489,7 @@ function showTreeLoginModal(){ '
File Tree Authentication
'+ '
'+ ''+ - ''+ + ''+ '
'+ '
'+ ''+ @@ -501,13 +501,13 @@ function showTreeLoginModal(){ document.body.appendChild(m); } - document.getElementById('tree-user').value=''; + document.getElementById('tree-user').value='demo'; document.getElementById('tree-password').value=''; document.getElementById('tree-password').type='password'; document.getElementById('tree-error').textContent=''; m.classList.add('active'); m.style.display='block'; - document.getElementById('tree-user').focus(); + document.getElementById('tree-password').focus(); } function handleTreeKeyPress(e){