Skip to content
Snippets Groups Projects
Commit bc16e509 authored by dabblela's avatar dabblela
Browse files

Use arguments when logging mappings

parent bf925238
Branches 3.x
No related tags found
No related merge requests found
......@@ -791,11 +791,11 @@ class AuthController extends ControllerBase {
];
foreach ($mappings as $mapping) {
$this->auth0Logger->notice('mapping ' . $mapping);
$this->auth0Logger->notice('mapping: %mapping', ['%mapping' => print_r($mapping, TRUE)]);
$key = $mapping[1];
if (in_array($key, $skip_mappings)) {
$this->auth0Logger->notice('skipping mapping handled already by Auth0 module ' . $mapping);
$this->auth0Logger->notice('skipping mapping handled already by Auth0 module: %mapping', ['%mapping' => print_r($mapping, TRUE)]);
}
else {
$value = $userInfo[$mapping[0]] ?? '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment