Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Fix AuthenticationUtils::getLastUsername() returning null #53509

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

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Jan 11, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #53503
License MIT

This can happen when the attribute is actually set with null.

Covered the class while at it.

@chalasr
Copy link
Member

chalasr commented Jan 18, 2024

déjà vu 🤔 #23409

@chalasr
Copy link
Member

chalasr commented Jan 18, 2024

Thank you @alexandre-daubois.

@chalasr chalasr merged commit 4460eb4 into symfony:5.4 Jan 18, 2024
@xabbuh xabbuh mentioned this pull request Jan 19, 2024
xabbuh added a commit that referenced this pull request Jan 19, 2024
This PR was merged into the 5.4 branch.

Discussion
----------

[Security] fix tests

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

spotted while merging #53509 up where we added return types to the `AuthenticationUtils` methods

Commits
-------

c78f3e1 fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants