summaryrefslogtreecommitdiff
path: root/lib/helpers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-03-07 12:43:37 -0800
committerAaron Parecki <aaron@parecki.com>2017-03-07 12:43:37 -0800
commit9450cd6a176ec8df824b29089e05eb274457bb68 (patch)
treee910d07157cde498a6ea0ab1ba643065e2c95c2f /lib/helpers.php
parent402e1e06c194ac2f5d3f1b65494fa74fb895f293 (diff)
don't send access token in JSON post body
Diffstat (limited to 'lib/helpers.php')
-rw-r--r--lib/helpers.php2
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 {