diff --git a/frontend/api/class.ApiLogin.php b/frontend/api/class.ApiLogin.php index fcd4046f4..84a018daa 100644 --- a/frontend/api/class.ApiLogin.php +++ b/frontend/api/class.ApiLogin.php @@ -1016,13 +1016,6 @@ class ApiLogin setcookie("SL", $p, time() - 3600 * 24 * 365, "/", $nd); } - // Ce gre za AAI odjavo moramo odjavit tudi iz AAI - if (isset($_COOKIE['aai']) && !empty ($_COOKIE['aai']) && $_COOKIE['aai'] == "1") { - setcookie("aai", '', time() - 3600, '/', $cookie_domain); - header('location: https://aai.1ka.si/Shibboleth.sso/Logout?return=https://1ka.arnes.si'); - die(); - } - // Ce gre za arnes aai odjavo odjavimo posebej if ($aai_instalacija){ setcookie("aai", '', time() - 3600, '/', $cookie_domain);