magic auth doco
This commit is contained in:
parent
17870912e4
commit
15ceaeb624
@ -135,7 +135,7 @@ function like_content(&$a) {
|
|||||||
if(! isset($bodyverb))
|
if(! isset($bodyverb))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$item_flags = ITEM_ORIGIN;
|
$item_flags = ITEM_ORIGIN | ITEM_NOTSHOWN;
|
||||||
if($item['item_flags'] & ITEM_WALL)
|
if($item['item_flags'] & ITEM_WALL)
|
||||||
$item_flags |= ITEM_WALL;
|
$item_flags |= ITEM_WALL;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ function magic_init(&$a) {
|
|||||||
|
|
||||||
goaway($x[0]['hubloc_callback'] . '/' . substr($x[0]['hubloc_addr'],0,strpos($x[0]['hubloc_addr'],'@'))
|
goaway($x[0]['hubloc_callback'] . '/' . substr($x[0]['hubloc_addr'],0,strpos($x[0]['hubloc_addr'],'@'))
|
||||||
. '/?f=&auth=' . $channel['channel_address'] . '@' . $a->get_hostname()
|
. '/?f=&auth=' . $channel['channel_address'] . '@' . $a->get_hostname()
|
||||||
. '&sec=' . $token . '&dest=' . $dest . '&version=' . ZOT_REVISION);
|
. '&sec=' . $token . '&dest=' . urlencode($dest) . '&version=' . ZOT_REVISION);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strpos($dest,'/'))
|
if(strpos($dest,'/'))
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-04-08.277
|
2013-04-10.279
|
||||||
|
Reference in New Issue
Block a user