diff --git a/src/Security/DI/SecurityExtension.php b/src/Security/DI/SecurityExtension.php index 078ed7c3..7a35ebea 100755 --- a/src/Security/DI/SecurityExtension.php +++ b/src/Security/DI/SecurityExtension.php @@ -114,13 +114,13 @@ public function setupDefaultType(ContainerBuilder $container) )); $container->addDefinition($this->prefix('adminFormFactory')) - ->setClass('Venne\Security\DefaultType\AdminFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\AdminFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); $container->addDefinition($this->prefix('frontFormFactory')) - ->setClass('Venne\Security\DefaultType\FrontFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\FrontFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); $container->addDefinition($this->prefix('registrationFormFactory')) - ->setClass('Venne\Security\DefaultType\RegistrationFormFactory', array(new Statement('@system.admin.basicFormFactory'))); + ->setClass('Venne\Security\DefaultType\RegistrationFormFactory', array(new Statement('@system.admin.ajaxFormFactory'))); } /**