X-Git-Url: https://git.cweiske.de/anoweco.git/blobdiff_plain/1074fe9f773f579e6b6f8e1950c7479fd40ce879..a7ff94c0836165a2128bfc0f9402fdfb41eed1e2:/www/micropub.php diff --git a/www/micropub.php b/www/micropub.php index 8d8d34a..375920b 100644 --- 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) ); }