From a4e8481ff0e5ac03a9279a4f7e36c36698c00164 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Tue, 17 Sep 2024 13:53:57 +0200
Subject: [PATCH] fix logged in display

---
 functions.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions.js b/functions.js
index a35cd5c..09daebd 100644
--- a/functions.js
+++ b/functions.js
@@ -14,7 +14,7 @@
 // ----------------------------------------------------------------------
 
 // for development without local shibboleth - set to true
-var bShowLoginOnError = true;
+var bShowLoginOnError = false;
 
 var oFilter = document.getElementById('filterbox');
 var sLang =   document.getElementById('lang').value;
@@ -170,7 +170,7 @@ async function checkSession() {
             showFilterBox();
         } else {
             // console.log("Logged in already");
-            document.getElementById('sshib-check-logged-in').style.display = 'block';
+            document.getElementById('shib-check-logged-in').style.display = 'block';
         }
 
         // ...
-- 
GitLab