-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When you have ['type' => 'regex', 'pattern' => '/.*\.mycompany\.com.*/i'], in consent.disable variable in config breaks the module.
The relevant line:
| if (array_key_exists($disable, $all_sp_metadata)) { |
There is no type check for $disable variable.
// Remove services, whitch have consent disabled
if (isset($idp_metadata['consent.disable'])) {
foreach ($idp_metadata['consent.disable'] as $disable) {
if (array_key_exists($disable, $all_sp_metadata)) {
unset($all_sp_metadata[$disable]);
}
}
}Metadata
Metadata
Assignees
Labels
No labels