From e8ed3d52b56320d613d0c1acd0be90c5f1e784a2 Mon Sep 17 00:00:00 2001 From: David McReynolds Date: Mon, 27 Oct 2014 21:03:34 -0700 Subject: [PATCH] added logged in user's email address to the session since it's used with blog module --- fuel/modules/fuel/libraries/Fuel_auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/fuel/modules/fuel/libraries/Fuel_auth.php b/fuel/modules/fuel/libraries/Fuel_auth.php index 88354823b..093098339 100644 --- a/fuel/modules/fuel/libraries/Fuel_auth.php +++ b/fuel/modules/fuel/libraries/Fuel_auth.php @@ -118,6 +118,7 @@ public function set_valid_user($valid_user) $session_data['super_admin'] = $valid_user['super_admin']; $session_data['user_name'] = $valid_user['user_name']; $session_data['language'] = $valid_user['language']; + $session_data['email'] = $valid_user['email']; $this->CI->session->set_userdata($this->get_session_namespace(), $session_data); }