Browse Source

don't send access token in JSON post body

pull/82/head
Aaron Parecki 7 years ago
parent
commit
9450cd6a17
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/helpers.php

+ 1
- 1
lib/helpers.php View File

@ -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 {

Loading…
Cancel
Save