Skip to content

Commit 08a1295

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Security] fix small typo in PasswordAuthenticatedUserInterface [Config] Deprecate setting a default value to a node that is required, and vice versa
2 parents 8130dd3 + b0db040 commit 08a1295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Security/UserProvider/LdapFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function addConfiguration(NodeDefinition $node): void
5353
{
5454
$node
5555
->children()
56-
->scalarNode('service')->isRequired()->cannotBeEmpty()->defaultValue('ldap')->end()
56+
->scalarNode('service')->isRequired()->cannotBeEmpty()->example('ldap')->end()
5757
->scalarNode('base_dn')->isRequired()->cannotBeEmpty()->end()
5858
->scalarNode('search_dn')->defaultNull()->end()
5959
->scalarNode('search_password')->defaultNull()->end()

0 commit comments

Comments
 (0)