Skip to content

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

@Nek-

Description

@Nek-

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

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