need to use information about logged in fuel users.
Hello,
I understand that fuel_users table contains fuel users data. I want to send an email from a controller to the fuel user who has currently logged in. Is the logged in users information set in any session variables. If so how can I access it. I need user_name, email,first_name, last_name of logged in fuel users.
Comments
For 0.93 you can access it this way:
$valid_user = $this->fuel_auth->valid_user();
For the 1.0 beta:
$valid_user = $this->fuel->auth->valid_user();