From ff3673d6352c41455aef25037123154bf10cecb0 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 21 Jan 2016 13:07:21 +0100 Subject: [PATCH] sso fix --- webui/controller/login/sso.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webui/controller/login/sso.php b/webui/controller/login/sso.php index f6127503..c3fc1850 100644 --- a/webui/controller/login/sso.php +++ b/webui/controller/login/sso.php @@ -26,10 +26,12 @@ class ControllerLoginSSO extends Controller { if($this->model_user_auth->check_ntlm_auth() == 1) { header("Location: " . SITE_URL . "search.php"); - exit; + } else { + header("Location: " . SITE_URL . "login.php"); } - die("permission denied"); + exit; + } }