From 6a2a3263fc10f290d392115ade6e1bde9611a88e Mon Sep 17 00:00:00 2001 From: SJ Date: Mon, 22 Apr 2013 22:06:56 +0200 Subject: [PATCH] removed the automatic redirect to sso.php --- webui/index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webui/index.php b/webui/index.php index 9b1bb8be..a5fcaee3 100644 --- a/webui/index.php +++ b/webui/index.php @@ -84,11 +84,7 @@ if(Registry::get('username')) { } } else { - if(ENABLE_SSO_LOGIN == 1) { - header("Location: " . SITE_URL . 'sso.php'); - exit; - } - else if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') { + if(ENABLE_GOOGLE_LOGIN == 1 && isset($request->get['route']) && $request->get['route'] == 'login/google') { $action = new Router('login/google'); } else {