summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-04-03 14:42:59 +0200
committerAleksander Machniak <machniak@kolabsys.com>2012-04-03 14:42:59 +0200
commit5ea4fce984f81486857e985c8c9ece86b4ab3273 (patch)
tree32bbb82ff458c313318cf86693d6da6d1393e6bc /lib/kolab_api_controller.php
parentd66e8ef07daa9e6b89defb134b5265a61a5ef0d9 (diff)
downloadwebadmin-5ea4fce984f81486857e985c8c9ece86b4ab3273.tar.gz
Fix group_members_list()
Fix getting logged in user data
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index 2aaef55..cfd984a 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -281,8 +281,9 @@ class kolab_api_controller
$_SESSION['start'] = time();
return array(
'user' => $_SESSION['user']->get_username(),
+ 'userid' => $_SESSION['user']->get_userid(),
'domain' => $_SESSION['user']->get_domain(),
- 'session_token' => session_id()
+ 'session_token' => session_id(),
);
}