CodeIgniter Forums
Adding a login form on CodeIgniter using Community-auth - 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: Adding a login form on CodeIgniter using Community-auth (/showthread.php?tid=60277)



Adding a login form on CodeIgniter using Community-auth - El Forum - 02-20-2014

[eluser]kacyblack[/eluser]
Am trying to add a login form in CodeIgniter using the Community-auth Authentication Library and am having challenges implementing this, any solution will be highly appreciated Thanks.


Adding a login form on CodeIgniter using Community-auth - El Forum - 02-20-2014

[eluser]Alucemet[/eluser]
Community Auth's login form presents itself anytime a request hits a method that requires a logged in user. You shouldn't need to add one. Have you played with the example app?



Adding a login form on CodeIgniter using Community-auth - El Forum - 02-23-2014

[eluser]kacyblack[/eluser]
Please what i mean is to add the login form to appear where its far from the original index.php/login page, so that from the homepage directly where there is no login form, the users can still login to their account. Thanks


Adding a login form on CodeIgniter using Community-auth - El Forum - 02-23-2014

[eluser]Alucemet[/eluser]
I don't understand why you feel the need to have asked about this in two threads, but not check the answer left by skunkbad in the other one. He's telling you how to do it, or at least pointing you in the right direction. Check this thread:

http://ellislab.com/forums/viewthread/127107/P15/#1063564