Skip to content

Commit beabed1

Browse files
committed
Revert commit bc860f3
1 parent 6aac9b4 commit beabed1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Security/Authentication/Provider/SamlProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ public function authenticate(TokenInterface $token)
5050
if ($user) {
5151
if ($user instanceof SamlUserInterface) {
5252
$user->setSamlAttributes($token->getAttributes());
53-
if ($this->entityManager) {
54-
$this->entityManager->persist($user);
55-
$this->entityManager->flush();
56-
}
5753
}
5854

5955
$authenticatedToken = $this->tokenFactory->createToken($user, $token->getAttributes(), $user->getRoles());

0 commit comments

Comments
 (0)