Skip to content

Conversation

@onEXHovia
Copy link
Contributor

Closes #506

I added some tests, but not sure that fully covered this feature. Let me know if need to add something. Thanks!

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

great job, thanks!

i think we don't need this in the documentation, but should have a phpdoc on the listener class. and can you please add an entry to the changlog (i'd put it as "fix" because we consider it a fix)

use Symfony\Component\Security\Http\Event\SwitchUserEvent;
use Symfony\Component\Security\Http\SecurityEvents;

class SwitchUserListener implements EventSubscriberInterface
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a phpdoc with the explanation why we do this? (basically the TLDR of our discussion in the issue you reported)

@dbu
Copy link
Contributor

dbu commented Mar 12, 2019

i added the changelog and phpdoc and merged manually. thanks again for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants