diff --git a/public/js/app.js b/public/js/app.js index dc8fffe..f8d316d 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -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; } diff --git a/public/js/pages/register.js b/public/js/pages/register.js index 1708990..2ec7348 100644 --- a/public/js/pages/register.js +++ b/public/js/pages/register.js @@ -25,9 +25,9 @@ const RegisterPage = { ${this.captcha ? `
-
-
${this.captcha.svg}
- +
${this.captcha.svg}
+
+
` : ''}