![]() |
Using 1 method for authentication and form callback HELP - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Using 1 method for authentication and form callback HELP (/showthread.php?tid=47411) |
Using 1 method for authentication and form callback HELP - El Forum - 12-07-2011 [eluser]Unknown[/eluser] I would like to consolidate my validate method and my login method so my users only see http://mysite.com/user/login. Also, the form validation callback is not working. Can someone please help me clean up this code? Thank you. Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |