CodeIgniter Forums
Codeigniter User 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: Codeigniter User Auth Library (/showthread.php?tid=48621)



Codeigniter User Auth Library - El Forum - 01-23-2012

[eluser]Waldir Bertazzi Junior[/eluser]
Codeigniter user auth library v. 1.1

Today I updated the library and added some nice features. I think it's a pretty straight-forward, easy to use, yet powerful auth library for your sites.

Features includes adding users, removing users, protecting controllers and methods from not logged viewers and much more.

You can check it out on github!
https://github.com/waldirbertazzijr/codeigniter-user


Best regards,
Waldir


Codeigniter User Auth Library - El Forum - 01-26-2012

[eluser]Unknown[/eluser]
Hi,

This looks interested, but when calling either

$this->user->get_name();
$this->user->get_id();

It complains with

Message: Trying to get property of non-object
Filename: libraries/User.php
Line Number: 170

When profiling it, the session data shows;

user_data
login admin
pw admin
logged 1