Skip to content

[Security] Impossible to configure the storage service for login_throttling #60744

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

Open
Nek- opened this issue Jun 9, 2025 · 0 comments
Open

Comments

@Nek-
Copy link
Contributor

Nek- commented Jun 9, 2025

Symfony version(s) affected

7.3

Description

The configuration of login_throttling do not allow to configure storage_service:

$limiterOptions = [
'policy' => 'fixed_window',
'limit' => $config['max_attempts'],
'interval' => $config['interval'],
'lock_factory' => $config['lock_factory'],
];

Besides it's supposed to be supported:

if (null === $storageId = $limiterConfig['storage_service'] ?? null) {

How to reproduce

Configure a login_throttling: it's impossible to specify the storage service

Possible Solution

No response

Additional Context

No response

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

No branches or pull requests

2 participants