Skip to content

Commit f84d7d3

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: CS: typo fix [Security] make secret required for DefaultLoginRateLimiter
2 parents 03d78f8 + 1b49ad8 commit f84d7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RateLimiter/DefaultLoginRateLimiter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class DefaultLoginRateLimiter extends AbstractRequestRateLimiter
3434
/**
3535
* @param non-empty-string $secret A secret to use for hashing the IP address and username
3636
*/
37-
public function __construct(RateLimiterFactory $globalFactory, RateLimiterFactory $localFactory, #[\SensitiveParameter] string $secret = '')
37+
public function __construct(RateLimiterFactory $globalFactory, RateLimiterFactory $localFactory, #[\SensitiveParameter] string $secret)
3838
{
3939
if (!$secret) {
4040
throw new InvalidArgumentException('A non-empty secret is required.');

0 commit comments

Comments
 (0)