CodeIgniter Forums
User Authentication Class - no longer exists? - 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: User Authentication Class - no longer exists? (/showthread.php?tid=55836)



User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]Adam_R[/eluser]
I'm coming from CI 1.7 to 2.1 and I can't find auth library. Does it deprecated? If yes what else I can use?

Thanks


User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]PhilTem[/eluser]
There is no built-in auth library neither for 1.7 nor for 2.x. You need to have a look here:
http://stackoverflow.com/questions/346980/how-should-i-choose-an-authentication-library-for-codeigniter


User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]Adam_R[/eluser]
I had installed CI 1.7 with

| Code Igniter User Authentication Class
|
| By Chris Monnat

No clue if it was there by default or not.



User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]PhilTem[/eluser]
It surely wasn't included in the default installation of CI since CI ain't no CMS or alike but a framework for helping developing apps. However I'm surprised that you lost this authentication module when upgrading because - I guess - you just overrode the system files and replaced names with the same filename but did not delete any files ?!


User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]Adam_R[/eluser]
I have a backup of it. Will try if it works with CI 2.x


User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]solid9[/eluser]
You have 4 options,

tank_auth
ion_auth
community_auth
create_your_own from scratch.

I prefer the latter.



User Authentication Class - no longer exists? - El Forum - 11-12-2012

[eluser]Adam_R[/eluser]
[quote author="solid9" date="1352740822"]You have 4 options,

tank_auth
ion_auth
community_auth
create_your_own from scratch.

I prefer the latter.
[/quote]

I will go with 'create_your_own from scratch' because I have already created user and permissions management. Tank_auth and ion_auth looks pretty robust but is too late. Good to know for future reference Smile

Thanks