Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PasswordHasher] Fix missing PasswordHasherAwareInterface allowed type#41678

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
chalasr merged 1 commit intosymfony:5.3fromchalasr:fix-passwordhasheraware-miss
Jun 11, 2021

Conversation

@chalasr
Copy link
Member

@chalasrchalasr commentedJun 11, 2021
edited
Loading

QA
Branch?5.3
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Also backports test changes from#41640

* Returns the password hasher to use for the given user.
*
* @param PasswordAuthenticatedUserInterface|UserInterface|string $user A PasswordAuthenticatedUserInterface/UserInterface instance or a class name
* @paramPasswordHasherAwareInterface|PasswordAuthenticatedUserInterface|string $user A PasswordAuthenticatedUserInterface/PasswordHasherAwareInterface instance or a class name
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

UserInterface is the legacy type here - which we don't document usually

@chalasrchalasrforce-pushed thefix-passwordhasheraware-miss branch fromc1d40d3 to8d3bea5CompareJune 11, 2021 13:11
@chalasrchalasr merged commit4988db2 intosymfony:5.3Jun 11, 2021
@chalasrchalasr deleted the fix-passwordhasheraware-miss branchJune 11, 2021 13:30
chalasr added a commit that referenced this pull requestJun 11, 2021
…e from UserPasswordHasherInterface API (chalasr)This PR was merged into the 5.3 branch.Discussion----------[PasswordHasher] Remove PasswordHasherAwareInterface type from UserPasswordHasherInterface API| 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).Commits-------596ba78 [PasswordHasher] Remove PasswordHasherAwareInterface from UserPasswordHasherInterface API
@fabpotfabpot mentioned this pull requestJun 17, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.3

Development

Successfully merging this pull request may close these issues.

3 participants

@chalasr@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp