From dfc4f1a7e4f0cbf7c07df91d9662eab120bd1d85 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 22 Oct 2019 13:34:36 +0200 Subject: [PATCH] test dynamic header --- js/headfoot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/headfoot.js b/js/headfoot.js index 620fcb0..8507da0 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -96,8 +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('method',"post"); + headlink.href="/logout"; } } -- GitLab