mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-12 22:20:12 +01:00
sso fix
This commit is contained in:
parent
4bf92f4f97
commit
ff3673d635
@ -26,10 +26,12 @@ class ControllerLoginSSO extends Controller {
|
|||||||
|
|
||||||
if($this->model_user_auth->check_ntlm_auth() == 1) {
|
if($this->model_user_auth->check_ntlm_auth() == 1) {
|
||||||
header("Location: " . SITE_URL . "search.php");
|
header("Location: " . SITE_URL . "search.php");
|
||||||
exit;
|
} else {
|
||||||
|
header("Location: " . SITE_URL . "login.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
die("permission denied");
|
exit;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user