Newscoop\Form::addSecurity PHP Method

addSecurity() protected method

Add some CSRF protection CSRF equals Cross-site request forgery
protected addSecurity ( )
    protected function addSecurity()
    {
        $this->addElement('hash', 'csrf', array('ignore' => true, 'salt' => 'unique'));
    }