mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-12 19:12:18 +03:00
Include the user timezone in the session information.
This commit is contained in:
parent
3d0d1f2005
commit
fbe1a10eeb
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class User_Model extends CI_Model {
|
||||||
$password = hash_password($salt, $password);
|
$password = hash_password($salt, $password);
|
||||||
|
|
||||||
$user_data = $this->db
|
$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')
|
. 'ea_roles.slug AS role_slug, ea_user_settings.username')
|
||||||
->from('ea_users')
|
->from('ea_users')
|
||||||
->join('ea_roles', 'ea_roles.id = ea_users.id_roles', 'inner')
|
->join('ea_roles', 'ea_roles.id = ea_users.id_roles', 'inner')
|
||||||
|
|
Loading…
Reference in a new issue