Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\FormLoginFactory::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->addOption('username_parameter', '_username');
        $this->addOption('password_parameter', '_password');
        $this->addOption('csrf_parameter', '_csrf_token');
        $this->addOption('csrf_token_id', 'authenticate');
        $this->addOption('post_only', true);
    }

Usage Example

 public function __construct()
 {
     parent::__construct();
     unset($this->options['check_path']);
     $this->defaultSuccessHandlerOptions = array();
     $this->defaultFailureHandlerOptions = array();
 }
All Usage Examples Of Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\FormLoginFactory::__construct