Skip to content

[Security] Fix wrong usage in custom authenticator checking if password is invalid #10213

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
Aug 24, 2018

Conversation

norkunas
Copy link
Contributor

Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface::isPasswordValid expects an UserInterface and a password, but example arguments was provided like for Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface

@norkunas norkunas changed the title Fix wrong usage in custom authenticator checking if password is invalid [Security] Fix wrong usage in custom authenticator checking if password is invalid Aug 23, 2018
@xabbuh xabbuh added this to the 2.8 milestone Aug 24, 2018
@xabbuh
Copy link
Member

xabbuh commented Aug 24, 2018

Good catch, thanks @norkunas.

@xabbuh xabbuh merged commit 94f2951 into symfony:2.8 Aug 24, 2018
xabbuh added a commit that referenced this pull request Aug 24, 2018
…ing if password is invalid (norkunas)

This PR was merged into the 2.8 branch.

Discussion
----------

[Security] Fix wrong usage in custom authenticator checking if password is invalid

```Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface::isPasswordValid``` expects an UserInterface and a password, but example arguments was provided like for `Symfony\Component\Security\Core\Encoder\PasswordEncoderInterface`
<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

94f2951 Fix wrong usage in custom authenticator checking if password is invalid
@norkunas norkunas deleted the wrong-encoder-usage branch August 24, 2018 17:01
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