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
This commit is contained in:
parent
126f4aac29
commit
b47e960770
1 changed files with 1 additions and 0 deletions
|
@ -1360,6 +1360,7 @@ function ws_session_getStatus($params, &$service)
|
||||||
{
|
{
|
||||||
$res[$k] = $user[$k];
|
$res[$k] = $user[$k];
|
||||||
}
|
}
|
||||||
|
$res['pwg_token'] = get_pwg_token();
|
||||||
$res['charset'] = get_pwg_charset();
|
$res['charset'] = get_pwg_charset();
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue