CodeIgniter Forums
Community Auth - auth_controller query - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Community Auth - auth_controller query (/showthread.php?tid=68884)



Community Auth - auth_controller query - badger - 09-09-2017

I suspect, in the protected function "is_logged_in" at line 341, "return" is missing from the function.
bill greene


RE: Community Auth - auth_controller query - skunkbad - 09-10-2017

Yes, seems like it should return. I guess I've never paid attention to it, because of the way I use it.

When I use it, I'm never expecting an actual value, because I'm just calling it so that it sets up the auth vars on pages that don't require authentication. I fixed it in the develop branch.

Thanks for the observation.