diff options
Diffstat (limited to 'actions/security')
-rw-r--r-- | actions/security/refreshtoken.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/security/refreshtoken.php b/actions/security/refreshtoken.php new file mode 100644 index 000000000..74a72c4af --- /dev/null +++ b/actions/security/refreshtoken.php @@ -0,0 +1,5 @@ +<?php +$ts = time(); +$token = generate_action_token($ts); + +echo json_encode(array('__elgg_ts' => $ts, '__elgg_token' => $token));
\ No newline at end of file |