Skip to content
Snippets Groups Projects
Unverified Commit af5fb9d3 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Disable PersonFromUserItemPreEvent because it exposes Adldap User

parent 0f8cca04
Branches
Tags
No related merge requests found
Pipeline #84256 failed
......@@ -248,9 +248,9 @@ class LDAPApi implements LoggerAwareInterface, ServiceSubscriberInterface
public function personFromUserItem(User $user, bool $full): Person
{
$preEvent = new PersonFromUserItemPreEvent($user, $full);
$this->dispatcher->dispatch($preEvent, PersonFromUserItemPreEvent::NAME);
$user = $preEvent->getUser();
// $preEvent = new PersonFromUserItemPreEvent($user, $full);
// $this->dispatcher->dispatch($preEvent, PersonFromUserItemPreEvent::NAME);
// $user = $preEvent->getUser();
$identifier = $user->getFirstAttribute($this->identifierAttributeName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment