diff --git a/webui/index.php b/webui/index.php index f6085296..a5fcaee3 100644 --- a/webui/index.php +++ b/webui/index.php @@ -86,15 +86,6 @@ if(Registry::get('username')) { else { if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') { $action = new Router('login/google'); - } - else if(ENABLE_SSO_LOGIN == 1) { - if(isset($request->get['route']) && $request->get['route'] == 'login/login') { - $action = new Router('login/login'); - } - else { - header("Location: " . SITE_URL . 'sso.php'); - exit; - } } else { $action = new Router('login/login');