include bearer token result in error message
authorChristian Weiske <cweiske@cweiske.de>
Sun, 7 Aug 2016 17:26:07 +0000 (19:26 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 7 Aug 2016 17:26:07 +0000 (19:26 +0200)
www/micropub.php

index 8d8d34a..54cdee0 100644 (file)
@@ -47,7 +47,7 @@ function validateToken($token)
         mpError(
             'HTTP/1.0 403 Forbidden',
             'forbidden',
-            'Error verifying bearer token'
+            'Error verifying bearer token: ' . $res
         );
     }