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:
Julio Cesar Laura Avendaño
2018-10-12 19:18:50 +00:00

View File

@@ -166,7 +166,8 @@ try {
if (is_file( PATH_RBAC . 'plugins' . PATH_SEP . $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);
}
}