Welcome Guest, Not a member yet? Register   Sign In
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())
As written, this will always return true. ;-)[/quote]

No if the user is not logged in. I use it to check it. Now I will combine logged_in() + is_group().

Thanks again!


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 02-19-2011, 03:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB