Newscoop\Form::addSecurity PHP 메소드

addSecurity() 보호된 메소드

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