CodeIgniter Forums
Flexi Auth issue with CSRF Proetection - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Flexi Auth issue with CSRF Proetection (/showthread.php?tid=63459)



Flexi Auth issue with CSRF Proetection - vsuri - 11-02-2015

Hi,
I am trying to implement the flexi auth library in my projcet but i am facing one issue, when i enabled the CSRF Protection the token name is coming but hash value is not coming . For re-check i also enable CSRF protection in demo provided on "http://haseydesign.com/flexi-auth/" but same issue i faced there.
If any one have answer on this please reply me.
thanks    


RE: Flexi Auth issue with CSRF Proetection - Marcel - 12-22-2015

try something like this

<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>">


RE: Flexi Auth issue with CSRF Proetection - vsuri - 12-22-2015

thanks, issue was resolved