Commit 525483de authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

user output debugging

parent fa6414d9
Pipeline #364 passed with stage
in 4 seconds
......@@ -129,7 +129,11 @@ function head(){
headlink.innerHTML="Account";
headlink.href="/account/";
}
console.log(user)
if(typeof user !== 'undefined'){
console.log(user)
}else{
console.log("user not defined")
}
if(typeof user !== 'undefined'){ //user has priority
headlink.innerHTML="Logout";
headlink.href="/account/logout";
......
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