aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-16 20:27:50 -0700
committerfriendica <info@friendica.com>2013-05-16 20:27:50 -0700
commitc1c2ba7b4e3436bceed0e6b3253b848b77a924ec (patch)
tree853016882e82f9c90ea884672e5f10861a2567ab /mod/post.php
parentdeedac6ae542a1ff8d599076b7e0ef344d30e1a8 (diff)
downloadvolse-hubzilla-c1c2ba7b4e3436bceed0e6b3253b848b77a924ec.tar.gz
volse-hubzilla-c1c2ba7b4e3436bceed0e6b3253b848b77a924ec.tar.bz2
volse-hubzilla-c1c2ba7b4e3436bceed0e6b3253b848b77a924ec.zip
allow multiple hublocs
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/post.php b/mod/post.php
index 286eb743d..33534ce14 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -191,7 +191,7 @@ function post_post(&$a) {
logger('mod_zot: pickup: ' . $ret['message'], LOGGER_DEBUG);
json_return_and_die($ret);
}
- $r = q("select hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' limit 1",
+ $r = q("select hubloc_sitekey from hubloc where hubloc_url = '%s' and hubloc_callback = '%s' and hubloc_sitekey != '' ",
dbesc($data['url']),
dbesc($data['callback'])
);
@@ -212,7 +212,7 @@ function post_post(&$a) {
$sitekey = $hubsite['hubloc_sitekey'];
- // logger('sitekey: ' . $sitekey);
+ logger('mod_zot: Checking sitekey: ' . $sitekey);
if(rsa_verify($data['callback'],base64url_decode($data['callback_sig']),$sitekey)) {
$forgery = false;