Skip to content

Commit

Permalink
~ add cannotBeEmpty again
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanmac committed May 16, 2023
1 parent 196abc6 commit cda6710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ private function addResettingSection(ArrayNodeDefinition $node): void
->addDefaultsIfNotSet()
->children()
->scalarNode('template')->cannotBeEmpty()->defaultValue('@SonataUser/Admin/Security/Resetting/email.html.twig')->end()
->scalarNode('address')->end()
->scalarNode('sender_name')->end()
->scalarNode('address')->cannotBeEmpty()->end()
->scalarNode('sender_name')->cannotBeEmpty()->end()
->end()
->end()
->end()
Expand Down

0 comments on commit cda6710

Please sign in to comment.