mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Remove unecessary case
This commit is contained in:
@@ -103,7 +103,7 @@ if ($sTargetPage === false) {
|
|||||||
require_once(APPROOT.'/application/startup.inc.php');
|
require_once(APPROOT.'/application/startup.inc.php');
|
||||||
|
|
||||||
$aModuleDelegatedAuthenticationEndpoints = GetModuleDelegatedAuthenticationEndpoints($sModule);
|
$aModuleDelegatedAuthenticationEndpoints = GetModuleDelegatedAuthenticationEndpoints($sModule);
|
||||||
if (is_null($aModuleDelegatedAuthenticationEndpoints) || !in_array($sPage, $aModuleDelegatedAuthenticationEndpoints)) {
|
if (is_null($aModuleDelegatedAuthenticationEndpoints)) {
|
||||||
$bForceLoginWhenNoDelegatedAuthenticationEndpoints = MetaModel::GetConfig()->Get('security.force_login_when_no_delegated_authentication_endpoints_list');
|
$bForceLoginWhenNoDelegatedAuthenticationEndpoints = MetaModel::GetConfig()->Get('security.force_login_when_no_delegated_authentication_endpoints_list');
|
||||||
if ($bForceLoginWhenNoDelegatedAuthenticationEndpoints) {
|
if ($bForceLoginWhenNoDelegatedAuthenticationEndpoints) {
|
||||||
LoginWebPage::DoLoginEx();
|
LoginWebPage::DoLoginEx();
|
||||||
|
|||||||
Reference in New Issue
Block a user