We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879714b commit d293264Copy full SHA for d293264
lib/UserBackend.php
@@ -511,6 +511,12 @@ private function formatUserData($attributes) {
511
$result['formatted']['mfaVerified'] = null;
512
}
513
514
+ try {
515
+ $result['formatted']['avatar'] = $this->getAttributeValue('saml-attribute-mapping-avatar_mapping', $attributes);
516
+ } catch (\InvalidArgumentException $e) {
517
+ $result['formatted']['avatar'] = null;
518
+ }
519
+
520
$result['formatted']['uid'] = $this->userData->getEffectiveUid();
521
522
return $result;
0 commit comments