StofDoctrineExtensionsBundle icon indicating copy to clipboard operation
StofDoctrineExtensionsBundle copied to clipboard

BlameListener should set user on login

Open mathroc opened this issue 7 years ago • 1 comments

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

mathroc avatar Jul 24 '18 13:07 mathroc

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

barat avatar Sep 14 '18 16:09 barat