Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANCH-1401 fix loadUserByIdentifier infinite loop #15

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}
}