![]() |
Return Errors on forms - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Return Errors on forms (/showthread.php?tid=28151) |
Return Errors on forms - El Forum - 03-03-2010 [eluser]JayArias[/eluser] I have a custom Auth Controller and Model , Is there a method I can use through validation that will tell the user what he didn't enter or if it's a wrong username or password. Return Errors on forms - El Forum - 03-03-2010 [eluser]JoostV[/eluser] Not sure what you mean. Validation of your forms (required|maxlength[], etc): check the form_validation library in the userguide Wrong username/paswword combination: query the database for a user that has the existing username/password combination and grant access if they do. Authentication is full of security issues. If you are not familiar with authentication you might be better off using one of the authentication libraries in the Wiki. |