Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Ben Edmunds[/eluser]
Sorry for the confusion, that will just return the first user, to pull the currently logged in user do this:
Code:
$user = $this->ion_auth->current()->user()->row();


If you want to pull a different user by id you can do:
Code:
$user = $this->ion_auth->user($user_id_to_query)->row();


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-28-2011, 11:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB