Skip to content

Commit

Permalink
Fix Parameter injection for CheckEmailAction
Browse files Browse the repository at this point in the history
  • Loading branch information
BA-JBI authored Aug 26, 2024
1 parent 78e9df7 commit 7ef270f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/SonataUserExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private function configureResetting(array $config, ContainerBuilder $container):
->replaceArgument(9, $config['retry_ttl']);

$container->getDefinition('sonata.user.action.check_email')
->replaceArgument(4, $config['token_ttl']);
->replaceArgument(3, $config['token_ttl']);

$container->getDefinition('sonata.user.action.reset')
->replaceArgument(8, $config['token_ttl']);
Expand Down

0 comments on commit 7ef270f

Please sign in to comment.