aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-10-15 20:20:26 +0000
committerplegall <plg@piwigo.org>2010-10-15 20:20:26 +0000
commitb47e9607700cb5d97a399f15b5dd2f3f137c2d16 (patch)
treefd22eaea3f4179b6dd8a17e58c26dec4095374a7 /include
parent126f4aac29f5320d8f55d143363563ce36010b48 (diff)
feature 1756 added: returns the security token in method pwg.session.getStatus
git-svn-id: http://piwigo.org/svn/branches/2.1@7210 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index d0b44b0be..ec9227d49 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1360,6 +1360,7 @@ function ws_session_getStatus($params, &$service)
{
$res[$k] = $user[$k];
}
+ $res['pwg_token'] = get_pwg_token();
$res['charset'] = get_pwg_charset();
return $res;
}