Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]fran-quero[/eluser]
[quote author="c77m" date="1298168683"] There is already a function, is_group(), that will check group membership for you. (http://benedmunds.com/ion_auth/#is_group) [/quote] Thanks! I should have read more :red: [quote author="c77m" date="1298168683"] Code: if($user=$this->ion_auth->get_user()) No if the user is not logged in. I use it to check it. Now I will combine logged_in() + is_group(). Thanks again! |
Welcome Guest, Not a member yet? Register Sign In |