diff options
author | Aaron Parecki <aaron@parecki.com> | 2017-03-07 12:43:37 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2017-03-07 12:43:37 -0800 |
commit | 9450cd6a176ec8df824b29089e05eb274457bb68 (patch) | |
tree | e910d07157cde498a6ea0ab1ba643065e2c95c2f | |
parent | 402e1e06c194ac2f5d3f1b65494fa74fb895f293 (diff) |
don't send access token in JSON post body
-rw-r--r-- | lib/helpers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.php b/lib/helpers.php index 9a862d1..198534f 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -137,7 +137,7 @@ function micropub_post($endpoint, $params, $access_token, $file_path = NULL, $js if(!$file_path) { if($json) { - $params['access_token'] = $access_token; + // $params['access_token'] = $access_token; $httpheaders[] = 'Content-type: application/json'; $post = json_encode($params); } else { |