Skip to content
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

BlameListener should set user on login #374

Open
mathroc opened this issue Jul 24, 2018 · 1 comment
Open

BlameListener should set user on login #374

mathroc opened this issue Jul 24, 2018 · 1 comment

Comments

@mathroc
Copy link

mathroc commented Jul 24, 2018

BlameListener should listen to Symfony\Component\Security\Http\SecurityEvents::INTERACTIVE_LOGIN at least and the set the user when someone login

otherwise entities create on registration or login can't have blameable fields

I also listen to FOS\UserBundle\FOSUserEvents::SECURITY_IMPLICIT_LOGIN

alternatively, maybe Gedmo\Blameable\BlameableListener should be overwritten and injectd with the token storage and use that in getFieldValue

@barat
Copy link

barat commented Sep 14, 2018

I second this. Was trying to sort it out, and found this issue.

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

No branches or pull requests

2 participants