Commit 909224be authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

user output debugging

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