You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #19354 [Security] Fixing PHP example for limiting login attempts with rate limiter (MirakuSan)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[Security] Fixing PHP example for limiting login attempts with rate limiter
After struggling with the rate limiter on my app.
I think the PHP example for « limiting login attempts » with a rate limiter has a bad copy/paste for the third option to pass to the container to register the `DefaultLoginRateLimiter::class`.
Using `new Reference('kernel.secret')` , I had an error telling me `No services 'kernel.secret' found`
Here is what I used and worked for me and so it is my proposal 🙏
Commits
-------
40227c9 [Security] Fixing PHP example for limiting login attempts with rate limiter
0 commit comments