Fixed static analysis issue.

This commit is contained in:
Jan Böhmer 2023-02-28 17:03:57 +01:00
parent cb9433902c
commit 8a18951562

View file

@ -91,7 +91,7 @@ class SamlUserFactory implements SamlUserFactoryInterface, EventSubscriberInterf
//If needed update the group of the user and save it to DB
if ($group !== $user->getGroup()) {
$user->setGroup($group);
$this->em->flush($user);
$this->em->flush();
}
}