From 016f14f81b6242732f11dbaadcedc719879bb655 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 22 Oct 2019 16:08:17 +0200 Subject: [PATCH] remove deprecated trial of logout --- js/headfoot.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/headfoot.js b/js/headfoot.js index b45cd21..dbfe5f9 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -124,13 +124,7 @@ function head(){ if(userAuthenticated()){ headlink.innerHTML="Account"; headlink.href="/account/"; - }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){ - headlink.setAttribute("onclick","sendRequest('./logout');"); - headlink.href="#"; - headlink.innerHTML="Logout"; - } - } headitem.appendChild(headlink); navelements.appendChild(headitem); -- GitLab