Compare commits
2 Commits
676e5281fb
...
db4a058b5e
Author | SHA1 | Date |
---|---|---|
philipp lang | db4a058b5e | |
philipp lang | 0e0f23c17e |
|
@ -178,7 +178,7 @@ class Principal implements PrincipalBackendInterface
|
||||||
private function userToPrincipal(User $user): array
|
private function userToPrincipal(User $user): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'{DAV:}displayname' => $user->name,
|
'{DAV:}displayname' => $user->firstname . ' ' . $user->lastname,
|
||||||
'uri' => 'principals/' . $user->email,
|
'uri' => 'principals/' . $user->email,
|
||||||
'{http://sabredav.org/ns}email-address' => $user->email,
|
'{http://sabredav.org/ns}email-address' => $user->email,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue