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

test dynamic header

parent 809897c5
Pipeline #111 passed with stage
in 3 seconds
......@@ -96,7 +96,7 @@ function head(){
headlink.href="/account/";
}else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){
headlink.innerHTML="Logout";
headlink.setAttribute('th:action',"@{logout}");
headlink.setAttribute('th:action',"@{/logout}");
headlink.setAttribute('method',"post");
headlink.removeAttribute('href');
}
......
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