diff options
Diffstat (limited to 'html/webbox.js')
-rw-r--r-- | html/webbox.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html/webbox.js b/html/webbox.js index a564859..17ec25a 100644 --- a/html/webbox.js +++ b/html/webbox.js @@ -306,6 +306,10 @@ function initMainpage() { if (authheader.startsWith("SR_Basic realm=\"") && authheader.endsWith("\"")) { title = authheader.substr(16, authheader.length - 17); } + + // enable logout function if logging in + document.getElementById("logoutcommand").style.display = "table-row"; + login(title); return; } else |