benedmunds/CodeIgniter-Ion-Auth — Issue #140: Get User Data
Author: rolos79
Created: 2011-12-09 15:03:56+00:00
State: open

Hi,

The line $this->ion_auth->user() does not return a user object as described in the documentation. To get this working I have had to do this.

$userResult = $this->ion_auth->user()->result();
$user = $userResult [0];

Otherwise an awesome plugin!

Chris