Skip to content

[Security] Update locale with new authentication system #17595

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 2, 2024

Conversation

r-ant-2468
Copy link
Contributor

For the new authentication system, the LoginSuccessEvent event that is fired after logging in. This is to be updated in the new documentation

Copy link
Contributor

@alamirault alamirault left a comment

Choose a reason for hiding this comment

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

Thanks for your PR @r-ant-2468

I think you can target 5.4 branch as it's already available in this version

@@ -148,8 +148,7 @@ event::

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
use Symfony\Component\Security\Http\SecurityEvents;
use Symfony\Component\Security\Http\Event\LoginSuccessEvent;
Copy link
Contributor

Choose a reason for hiding this comment

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

We also must update L144

To do this, you need an event subscriber on the security.interactive_login
event::

OskarStark added a commit that referenced this pull request Oct 17, 2023
This PR was merged into the 5.4 branch.

Discussion
----------

[Security] Document `InteractiveLoginEvent`

`InteractiveLoginEvent` was not documented

Found it while reviewing #17595

Commits
-------

585e571 Document InteractiveLoginEvent
@javiereguiluz javiereguiluz added this to the 5.4 milestone Jan 2, 2024
@carsonbot carsonbot changed the title Update locale with new authentication system [Security] Update locale with new authentication system Jan 2, 2024
@javiereguiluz javiereguiluz modified the milestones: 5.4, 6.3 Jan 2, 2024
For the new authentication system, the LoginSuccessEvent event that is fired after logging in. This is to be updated in the new documentation
@javiereguiluz javiereguiluz changed the base branch from 6.2 to 6.3 January 2, 2024 08:50
@javiereguiluz
Copy link
Member

@r-ant-2468 thanks and congrats on your first Symfony Docs contribution 🎉 Sorry it took us so long to merge it.

@alamirault thanks for the review. At the end we merged it in 6.3 and up because there were too many conflicts otherwise.

@javiereguiluz javiereguiluz merged commit e21520a into symfony:6.3 Jan 2, 2024
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.

4 participants