We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aac9b4 commit beabed1Copy full SHA for beabed1
1 file changed
Security/Authentication/Provider/SamlProvider.php
@@ -50,10 +50,6 @@ public function authenticate(TokenInterface $token)
50
if ($user) {
51
if ($user instanceof SamlUserInterface) {
52
$user->setSamlAttributes($token->getAttributes());
53
- if ($this->entityManager) {
54
- $this->entityManager->persist($user);
55
- $this->entityManager->flush();
56
- }
57
}
58
59
$authenticatedToken = $this->tokenFactory->createToken($user, $token->getAttributes(), $user->getRoles());
0 commit comments