Merged in bugfix/HOR-4908 (pull request #6652)
HOR-4908 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -166,7 +166,8 @@ try {
|
|||||||
if (is_file( PATH_RBAC . 'plugins' . PATH_SEP . $sObject )) {
|
if (is_file( PATH_RBAC . 'plugins' . PATH_SEP . $sObject )) {
|
||||||
$sType = trim(str_replace(array("class.", ".php"), "", $sObject));
|
$sType = trim(str_replace(array("class.", ".php"), "", $sObject));
|
||||||
|
|
||||||
if ($sType != "ldapAdvanced") {
|
// Filter Authentication Sources added by plugins, because these will be configured from another place
|
||||||
|
if ($sType != "ldapAdvanced" && $sType != "Gauth") {
|
||||||
$arr[] = array("sType" => $sType, "sLabel" => $sType);
|
$arr[] = array("sType" => $sType, "sLabel" => $sType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user