log when zid_init invokes reverse magic-auth
This commit is contained in:
parent
e9d899f737
commit
19557e7718
1
boot.php
1
boot.php
@ -2161,6 +2161,7 @@ function zid_init(&$a) {
|
|||||||
$arr = array('zid' => $tmp_str, 'url' => $a->cmd);
|
$arr = array('zid' => $tmp_str, 'url' => $a->cmd);
|
||||||
call_hooks('zid_init',$arr);
|
call_hooks('zid_init',$arr);
|
||||||
if((! local_user()) && (! remote_user())) {
|
if((! local_user()) && (! remote_user())) {
|
||||||
|
logger('zid_init: not authenticated. Invoking reverse magic-auth');
|
||||||
$r = q("select * from hubloc where hubloc_addr = '%s' limit 1",
|
$r = q("select * from hubloc where hubloc_addr = '%s' limit 1",
|
||||||
dbesc($tmp_str)
|
dbesc($tmp_str)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user