Skip to content

Commit

Permalink
Merge pull request #170 from a-menshchikov/revert_2.3.2
Browse files Browse the repository at this point in the history
Revert 2.3.2
  • Loading branch information
a-menshchikov authored Jun 8, 2021
2 parents e8b4930 + 47f8d14 commit 390f8d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.3.3

* Reverted BC break (persistence SamlUser after calling setSamlAttributes).

## 2.3.2

* Added persistence SamlUser after calling setSamlAttributes while authentication.
Expand Down
4 changes: 0 additions & 4 deletions Security/Http/Authenticator/SamlAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ function ($identifier) use ($attributes) {

if ($user instanceof SamlUserInterface) {
$user->setSamlAttributes($attributes);
if ($this->entityManager) {
$this->entityManager->persist($user);
$this->entityManager->flush();
}
}

return $user;
Expand Down

0 comments on commit 390f8d1

Please sign in to comment.