Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CodeIgniter login for with CSRF
# load helper manually
$this->load->helper('form');
# create form
echo form_open( base_url( 'login' ), array( 'id' => 'login-form', 'class' => 'login' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.