X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/0811e272814cf05d6fc8bc76646a0be99bf79bb9..b50edfff7f68b16418110a8ed17d6b514dc9d1c6:/Controller/UserController.php diff --git a/Controller/UserController.php b/Controller/UserController.php index 73f02ea..4058c91 100644 --- a/Controller/UserController.php +++ b/Controller/UserController.php @@ -583,6 +583,8 @@ class UserController extends AbstractController { $form = $this->factory->create($this->config['register']['view']['form'], $user, [ //Set action to register route name and context 'action' => $this->generateUrl($this->config['route']['register']['name'], $this->config['route']['register']['context']), + //Set captcha + 'captcha' => true, //Set civility class 'civility_class' => $this->config['class']['civility'], //Set civility default