Created
January 12, 2014 14:47
-
-
Save niraj-shah/8385439 to your computer and use it in GitHub Desktop.
CodeIgniter login for with CSRF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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