Skip to content

[4.4][Security] Password migration with guards #12853

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 1, 2020

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Dec 26, 2019

Fixes #12756

When using password migration with guard, you also need to implement an interface in your guard class.

Thanks @chalasr for reporting this missing bit.

@wouterj wouterj changed the title [Security] Password migration with guards [4.4][Security] Password migration with guards Dec 26, 2019
@wouterj wouterj added this to the 4.4 milestone Dec 26, 2019
Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@wouterj wouterj force-pushed the issue-12756/password-migration-guards branch from aab3785 to ea43e0d Compare December 27, 2019 15:32
@wouterj
Copy link
Member Author

wouterj commented Dec 27, 2019

Thanks for the quick review, comments are fixed :)

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

With minor comment

namespace App\Security;

use Symfony\Component\Security\Guard\PasswordAuthenticatedInterface;
// ...
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing the use of AbstractGuardAuthenticator no?

@xabbuh
Copy link
Member

xabbuh commented Jan 1, 2020

Thank you Wouter.

xabbuh added a commit that referenced this pull request Jan 1, 2020
This PR was merged into the 4.4 branch.

Discussion
----------

[4.4][Security] Password migration with guards

Fixes #12756

When using password migration with guard, you also need to implement an interface in your guard class.

Thanks @chalasr for reporting this missing bit.

Commits
-------

ea43e0d Document PasswordAuthenticatedInterface
@xabbuh xabbuh merged commit ea43e0d into symfony:4.4 Jan 1, 2020
@wouterj wouterj deleted the issue-12756/password-migration-guards branch January 1, 2020 12:36
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