git.cweiske.de
/
anoweco.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fetch token verification error response
[anoweco.git]
/
www
/
micropub.php
diff --git
a/www/micropub.php
b/www/micropub.php
index 8d8d34aad578fdffaa244180f8202028992b3982..375920b4fa400f7ecbcf297fb4a255c0fc900767 100644
(file)
--- a/
www/micropub.php
+++ b/
www/micropub.php
@@
-37,6
+37,7
@@
function validateToken($token)
'header' => array(
'Authorization: Bearer ' . $token
),
+ 'ignore_errors' => true,
),
)
);
@@
-47,7
+48,7
@@
function validateToken($token)
mpError(
'HTTP/1.0 403 Forbidden',
'forbidden',
- 'Error verifying bearer token
'
+ 'Error verifying bearer token
: ' . trim($res)
);
}