Skip to content

Commit 2f93db1

Browse files
[FrameworkBundle] Add support for info on ArrayNodeDefinition::canBeEnabled() and ArrayNodeDefinition::canBeDisabled()
1 parent 1eea135 commit 2f93db1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,12 +1054,8 @@ private function addValidationSection(ArrayNodeDefinition $rootNode, callable $e
10541054
->end()
10551055
->end()
10561056
->arrayNode('not_compromised_password')
1057-
->canBeDisabled()
1057+
->canBeDisabled('When disabled, compromised passwords will be accepted as valid.')
10581058
->children()
1059-
->booleanNode('enabled')
1060-
->defaultTrue()
1061-
->info('When disabled, compromised passwords will be accepted as valid.')
1062-
->end()
10631059
->scalarNode('endpoint')
10641060
->defaultNull()
10651061
->info('API endpoint for the NotCompromisedPassword Validator.')

0 commit comments

Comments
 (0)