![]() |
Login by username (redux auth question) - 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: Login by username (redux auth question) (/showthread.php?tid=9588) |
Login by username (redux auth question) - El Forum - 06-30-2008 [eluser]markanderson993[/eluser] Hey I'm wondering if anyone out there knows of a way to login with the redux auth code by inputting a username instead of a password. It seems a wee bit odd to ask the user for their email and password rather than their username and password :/ Login by username (redux auth question) - El Forum - 06-30-2008 [eluser]markanderson993[/eluser] Ah nevermind. It was easy enough to copy paste the existing _login and login functions, change them to _login_by_username and login_by_username functions and change some minute data ![]() Login by username (redux auth question) - El Forum - 07-02-2008 [eluser]Popcorn[/eluser] Hi pianoman993. Quote:It seems a wee bit odd to ask the user for their email and password rather than their username and password This is because normally the users email address is not shown publically, where usernames are shown in member profiles and such. This gives potential hackers half the information they already need to login. Glad you resolved your issue. Kind Regards, -Mathew Davies. |