Skip to content

Commit

Permalink
Merge pull request #15 from finanzcheck/ANCH-1401-fix-get-user-identi…
Browse files Browse the repository at this point in the history
…fier

ANCH-1401 fix loadUserByIdentifier infinite loop
  • Loading branch information
PouyaAmani authored Dec 22, 2023
2 parents c034914 + 3a9626d commit 28b7b23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ As `Propel2` will be released in the near future, we are migrating the branching
* The `2.0` branch contains `Propel2` integration for Symfony *2.5-2.8*.
* The `3.0` branch contains `Propel2` integration for Symfony *2.8-3.x*.
* The `4.0` branch contains `Propel2` integration for Symfony *3.4-4.x*.
* The `5.0` branch contains `Propel2` integration for Symfony *5.4.x*.
* The `6.0` branch contains `Propel2` integration for Symfony *6.3.x*.

## Features

Expand Down
2 changes: 1 addition & 1 deletion Security/User/PropelUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ public function supportsClass($class): bool

public function loadUserByIdentifier(string $identifier): UserInterface
{
return $this->loadUserByIdentifier($identifier);
return $this->loadUserByUsername($identifier);
}
}

0 comments on commit 28b7b23

Please sign in to comment.