From: Christian Weiske Date: Wed, 5 Sep 2018 20:18:21 +0000 (+0200) Subject: Do not require "me" parameter in connection callback X-Git-Tag: v0.7.1~1 X-Git-Url: https://git.cweiske.de/shpub.git/commitdiff_plain/f0dde6f405cb0564e409d9cf2aaa38ef731f3dea?hp=84a1ecae2787c64a96b104d5738a12073724f531 Do not require "me" parameter in connection callback It is not required by the IndieAuth spec anymore, see https://www.w3.org/TR/indieauth/#authentication-response Resolves: https://github.com/cweiske/shpub/issues/14 --- diff --git a/src/shpub/Command/Connect.php b/src/shpub/Command/Connect.php index 6ac5ed4..b39665b 100644 --- a/src/shpub/Command/Connect.php +++ b/src/shpub/Command/Connect.php @@ -279,7 +279,6 @@ class Command_Connect parse_str($parts['query'], $query); if (isset($query['code']) && isset($query['state']) - && isset($query['me']) ) { fwrite($sock, $responseOk); fclose($sock);