From 0e0f23c17e35931f023fe9b140efa6a223d68878 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 1 Aug 2024 10:28:35 +0200 Subject: [PATCH] Fix user principal --- app/Dav/Principal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Dav/Principal.php b/app/Dav/Principal.php index a5c32d54..3ae9ccac 100644 --- a/app/Dav/Principal.php +++ b/app/Dav/Principal.php @@ -178,7 +178,7 @@ class Principal implements PrincipalBackendInterface private function userToPrincipal(User $user): array { return [ - '{DAV:}displayname' => $user->name, + '{DAV:}displayname' => $user->firstname . ' ' . $user->lastname, 'uri' => 'principals/' . $user->email, '{http://sabredav.org/ns}email-address' => $user->email, ];