Commit ae547195 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

test dynamic header

parent 2a02be75
Pipeline #105 passed with stage
in 4 seconds
...@@ -11,7 +11,7 @@ function prependChild(parent,child){ ...@@ -11,7 +11,7 @@ function prependChild(parent,child){
} }
function userAuthenticated(){ function userAuthenticated(){
console.log(document.getElementById('loginswitch')); console.log(document.getElementById('loginswitch').href);
let params = new URLSearchParams(window.location.search); let params = new URLSearchParams(window.location.search);
if(params.get('isAuthenticatedUser')){ if(params.get('isAuthenticatedUser')){
return true; return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment