![]() |
Tank Auth Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Tank Auth Library (/showthread.php?tid=48311) |
Tank Auth Library - El Forum - 01-11-2012 [eluser]xtremer360[/eluser] I'm using the tank auth library and want to modify it a little to my using. Here's the following code that exists: Code: // Get login for counting attempts to login I am actually storing the login attempts in my database and am curious as to how I should modify this section of code. I know I'm going to need to create a get_login_attempts however I'm wondering if this is how it should look or if there is a better way? 5 is the maximum amount of login attempts before the account gets locked. Code: // Get login for counting attempts to login |