Fix user principal
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2024-08-01 10:28:35 +02:00
parent 6d204b948e
commit 0e0f23c17e
1 changed files with 1 additions and 1 deletions

View File

@ -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,
]; ];