From ef0a16a63035d39e6f8c7d10a6eac537c5f8795b Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 22 Oct 2019 13:31:32 +0200 Subject: [PATCH] test dynamic header --- js/headfoot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/headfoot.js b/js/headfoot.js index 4c96258..6f27547 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -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'); } -- GitLab