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; + } }