From adc2a721a46d2c44701f64ac3eeebd20aef379db Mon Sep 17 00:00:00 2001 From: Simon Mellerin Date: Tue, 9 Jan 2024 14:02:55 +0100 Subject: [PATCH] fix ldap patch --- sources/patches/main-00-ldap-auth.patch | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/sources/patches/main-00-ldap-auth.patch b/sources/patches/main-00-ldap-auth.patch index 2aaf412..8bedb2c 100644 --- a/sources/patches/main-00-ldap-auth.patch +++ b/sources/patches/main-00-ldap-auth.patch @@ -64,7 +64,7 @@ new file mode 100755 index 00000000..eb8b1149 --- /dev/null +++ b/src/Security/YnhLdapUserProvider.php -@@ -0,0 +1,79 @@ +@@ -0,0 +1,89 @@ +entityManager->flush(); + } + -+ return $user->setUsername(\reset($email)) ++ return $user ++ ->setUsername(\reset($email)) + ->setUserIdentifier($identifier) + ; + } +} ++ \ No newline at end of file