Skip to content

[PasswordHasher] Remove PasswordHasherAwareInterface type from UserPasswordHasherInterface API #41682

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
Jun 11, 2021

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Jun 11, 2021

Q A
Branch? 5.3
Bug fix? no (not yet released)
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

As spotted by @stof in #41640 (comment), the methods of this interface should not handle user classes/instances that are not implementing PasswordAuthenticatedUserInterface.
This reverts that part from #41678 (not released yet).

@stof
Copy link
Member

stof commented Jun 11, 2021

Anyway, the implementation would have triggered an error in that case due to the type check being done at the beginning of the methods

@chalasr chalasr merged commit 9595726 into symfony:5.3 Jun 11, 2021
@chalasr chalasr deleted the fix-hasheraware branch June 11, 2021 14:59
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.

3 participants