fix: captcha full-width row, hide top-auth on anonymous submit page

This commit is contained in:
2026-07-17 13:14:15 +08:00
parent fbd98ca801
commit 8f7c34dd86
2 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ const App = {
}
if (page === 'install') { this.showPublic('install'); return; }
if (page === 'home') { this.showPublic('home', param); return; }
if (page === 'home') { this.showPublic('home', param); document.getElementById('top-auth').classList.add('hidden'); return; }
if (page === 'login' || page === 'register' || page === 'forgot' || page === 'reset') { this.showPublic(page); return; }
if (!Auth.logged()) { location.hash = '#/login'; return; }