Skip to content

Commit

Permalink
added logged in user's email address to the session since it's used w…
Browse files Browse the repository at this point in the history
…ith blog module
  • Loading branch information
David McReynolds committed Oct 28, 2014
1 parent d1f5db4 commit e8ed3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuel/modules/fuel/libraries/Fuel_auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e8ed3d5

Please sign in to comment.