Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 1182ffc

Browse files
Merge pull request #1 from php-istio/fix/auto-add-authenticator-when-not-config
Fix auto add authenticator when not config
2 parents 99cd228 + 3ca45b1 commit 1182ffc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/DependencyInjection/Security/AuthenticatorFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public function getKey()
6161
public function addConfiguration(NodeDefinition $builder)
6262
{
6363
$builder
64-
->cannotBeEmpty()
6564
->fixXmlConfig('origin_token_header')
6665
->fixXmlConfig('origin_token_query_param')
6766
->fixXmlConfig('base64_header')

tests/Unit/DepdendencyInjection/Security/AuthenticatorFactoryTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ public function validConfigurations(): array
138138
public function invalidConfigurations(): array
139139
{
140140
return [
141-
[
142-
[],
143-
],
144141
[
145142
[
146143
['issuer' => ''],

0 commit comments

Comments
 (0)