aboutsummaryrefslogtreecommitdiff
path: root/public/js/panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/panel.js')
-rw-r--r--public/js/panel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/panel.js b/public/js/panel.js
index df977cb..27af9f8 100644
--- a/public/js/panel.js
+++ b/public/js/panel.js
@@ -5,6 +5,7 @@ panel.token = localStorage.admintoken;
panel.preparePage = function(){
if(!panel.token){
+ document.getElementById('auth').style.display = 'flex';
document.getElementById('tokenSubmit').addEventListener('click', function(){
panel.verifyToken(document.getElementById('token').value);
});