Pregunta de entrevista de Triad Marketing Services

how to set csrf token in codeigniter?

Respuesta de la entrevista

Anónimo

21 abr 2017

$config['csrf_protection'] = TRUE; in configuration file use these commands in form $csrf = array( 'name' => $this->security->get_csrf_token_name(), 'hash' => $this->security->get_csrf_hash() ); ... " value="" />