8000 Login throttling: error message is not translated · Issue #40863 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Login throttling: error message is not translated #40863
Closed
@jmsche

Description

@jmsche

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0