Closed
Description
Symfony version(s) affected: 5.3.0@beta1
Description
When logging in with fr
locale, I'm getting the following error message:
Too many failed login attempts, please try again in 1 minute.
While I'm expecting a translated error message.
How to reproduce
Add rate limiter to security.yaml & login using a different locale than en
.
Possible Solution
Add translations in security translation files.
Additional context
I think the error message comes from here: https://github.com/symfony/symfony/blob/v5.3.0-BETA1/src/Symfony/Component/Security/Core/Exception/TooManyLoginAttemptsAuthenticationException.php#L44
The "later" part seems already translated, so I think messages handling "minute" & "minutes" should be added.