Include the user timezone in the session information.

This commit is contained in:
Alex Tselegidis 2020-03-29 12:54:02 +02:00
parent 3d0d1f2005
commit fbe1a10eeb

View file

@ -100,7 +100,7 @@ class User_Model extends CI_Model {
$password = hash_password($salt, $password);
$user_data = $this->db
->select('ea_users.id AS user_id, ea_users.email AS user_email, '
->select('ea_users.id AS user_id, ea_users.email AS user_email, ea_users.timezone,'
. 'ea_roles.slug AS role_slug, ea_user_settings.username')
->from('ea_users')
->join('ea_roles', 'ea_roles.id = ea_users.id_roles', 'inner')