Skip to content

Commit f980621

Browse files
committed
minor #61502 [SecurityBundle] add missing changelog entry (xabbuh)
This PR was merged into the 7.4 branch. Discussion ---------- [SecurityBundle] add missing changelog entry | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT following #61046 Commits ------- 4986042 add missing changelog entry
2 parents 9556568 + 4986042 commit f980621

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Symfony/Bundle/SecurityBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
7.4
55
---
66

7+
* Add options to configure a cache pool and storage service for login throttling rate limiters
78
* Register alias for argument for password hasher when its key is not a class name:
89

910
With the following configuration:

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public function addConfiguration(NodeDefinition $builder): void
5454
->integerNode('max_attempts')->defaultValue(5)->end()
5555
->scalarNode('interval')->defaultValue('1 minute')->end()
5656
->scalarNode('lock_factory')->info('The service ID of the lock factory used by the login rate limiter (or null to disable locking).')->defaultNull()->end()
57-
->scalarNode('cache_pool')->info('The cache pool to use for storing the limiter state')->defaultValue('cache.rate_limiter')->end()
58-
->scalarNode('storage_service')->info('The service ID of a custom storage implementation, this precedes any configured "cache_pool"')->defaultNull()->end()
57+
->stringNode('cache_pool')->info('The cache pool to use for storing the limiter state')->defaultValue('cache.rate_limiter')->end()
58+
->stringNode('storage_service')->info('The service ID of a custom storage implementation, this precedes any configured "cache_pool"')->defaultNull()->end()
5959
->end();
6060
}
6161

0 commit comments

Comments
 (0)