aboutsummaryrefslogtreecommitdiff
path: root/actions/security/refreshtoken.php
blob: 74a72c4afdd7f58c03dc260cd96836cd1b34ec78 (plain)
1
2
3
4
5
<?php
$ts = time();
$token = generate_action_token($ts);

echo json_encode(array('__elgg_ts' => $ts, '__elgg_token' => $token));