From a17cf57b8ceec0c97c3b8264bdf091d605db3718 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 28 Jan 2010 15:13:38 -0700 Subject: [PATCH] Add authenticated apps output to readSessionData() --- framework/Auth/lib/Horde/Auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/Auth/lib/Horde/Auth.php b/framework/Auth/lib/Horde/Auth.php index 70cae635f..f90b0848d 100644 --- a/framework/Auth/lib/Horde/Auth.php +++ b/framework/Auth/lib/Horde/Auth.php @@ -943,7 +943,7 @@ class Horde_Auth * * @return array An array of the user's sesion information if * authenticated or false. The following information is - * returned: userid, timestamp, remoteAddr, browser. + * returned: userid, timestamp, remoteAddr, browser, apps. */ static public function readSessionData($session_data) { @@ -962,6 +962,7 @@ class Horde_Auth return empty($data) ? false : array( + 'apps' => empty($data['app']) ? array('horde') : array_keys($data['app']), 'browser' => $data['browser'], 'remoteAddr' => $data['remoteAddr'], 'timestamp' => $data['timestamp'], -- 2.11.0