Skip to content
Snippets Groups Projects
Verified Commit 2761c1cf authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix: ensure that attributemap actually gets applied

parents 0349baec 9ee02710
No related branches found
No related tags found
No related merge requests found
...@@ -45,13 +45,13 @@ class PrivacyideaAuthSource extends UserPassBase ...@@ -45,13 +45,13 @@ class PrivacyideaAuthSource extends UserPassBase
parent::__construct($info, $config); parent::__construct($info, $config);
if (!in_array('attributemap', $config, true)) { if (!array_key_exists('attributemap', $config)) {
$config['attributemap'] = []; $config['attributemap'] = [];
} }
if (!in_array('detailmap', $config, true)) { if (!array_key_exists('detailmap', $config)) {
$config['detailmap'] = []; $config['detailmap'] = [];
} }
if (!in_array('concatenationmap', $config, true)) { if (!array_key_exists('concatenationmap', $config)) {
$config['concatenationmap'] = []; $config['concatenationmap'] = [];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment