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

test dynamic header

parent b355b091
Pipeline #108 passed with stage
in 3 seconds
......@@ -10,8 +10,8 @@ function prependChild(parent,child){
parent.insertBefore(child, parent.childNodes[0]);
}
function userAuthenticated(){
console.log(document.getElementById('loginswitch').getAttribute('authenticated'));
function userAuthenticated(){
let params = new URLSearchParams(window.location.search);
if(params.get('isAuthenticatedUser')){
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