From ae5471958aade7dcb14276e7100a5bff56c1e43e Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Tue, 22 Oct 2019 13:00:54 +0200
Subject: [PATCH] test dynamic header

---
 js/headfoot.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/headfoot.js b/js/headfoot.js
index b5029d8..1606697 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -11,7 +11,7 @@ function prependChild(parent,child){
 }
 
 function userAuthenticated(){
-    console.log(document.getElementById('loginswitch'));
+    console.log(document.getElementById('loginswitch').href);
     let params = new URLSearchParams(window.location.search);
     if(params.get('isAuthenticatedUser')){
         return true;
-- 
GitLab