Welcome Guest, Not a member yet? Register   Sign In
Community-Auth variables?
#2

You haven't called any auth method, like is_logged_in, require_role, etc. The variables aren't going to be there until you do. Since you're in the constructor, you might just call $this->is_logged_in() before you need auth_username
Reply


Messages In This Thread
Community-Auth variables? - by solidcodes - 03-04-2016, 07:54 PM
RE: Community-Auth variables? - by skunkbad - 03-04-2016, 08:40 PM
RE: Community-Auth variables? - by solidcodes - 03-04-2016, 10:19 PM
RE: Community-Auth variables? - by solidcodes - 03-04-2016, 11:48 PM
RE: Community-Auth variables? - by skunkbad - 03-05-2016, 03:43 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:06 PM
RE: Community-Auth variables? - by skunkbad - 03-05-2016, 08:16 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:08 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB