Skip to content

Commit

Permalink
Merge pull request #173 from saccas/bugfix-oidcvalue-cast-string
Browse files Browse the repository at this point in the history
[BUGFIX] Fix type error for if the userinfo claims contain ints
  • Loading branch information
liayn authored Sep 26, 2024
2 parents 389b850 + 6b803ac commit b1b82f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ protected function mergeSimple(array $oidc, array $typo3, string $field, string
if (is_array($oidcValue)) {
$oidcValue = $oidcValue[0];
}
$sectionValue = str_replace($fullMatchedMarker, $oidcValue, $sectionValue);
$sectionValue = str_replace($fullMatchedMarker, (string)$oidcValue, $sectionValue);
} else {
$sectionValue = str_replace($fullMatchedMarker, '', $sectionValue);
}
Expand Down

0 comments on commit b1b82f1

Please sign in to comment.