diff --git a/js/headfoot.js b/js/headfoot.js
index 9113c3749ebc4ea71a00a19c863c55805e811eca..57b8c104e265f79677c3457f8d8d65ea7b0a773e 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -98,7 +98,7 @@ function head(){
                 headlink.remove();
                 let headform = document.createElement('form');
                 headform.setAttribute("th:action", "@{/logout}");
-                headform.setAttribute("method","POST");
+                headform.setAttribute("method","post");
                 let headbutton = document.createElement('button');
                 headbutton.name='logout';
                 headbutton.type="Submit";