json_return_and_dir is a typo

This commit is contained in:
friendica 2014-03-12 19:04:20 -07:00
parent 40b54410b3
commit 74b8a38645

View File

@ -265,7 +265,7 @@ function post_init(&$a) {
} else {
if($test) {
$ret['message'] .= 'auth failure. ' . print_r($_REQUEST,true) . print_r($j,true) . EOL;
json_return_and_dir($ret);
json_return_and_die($ret);
}
logger('mod_zot: magic-auth failure - not authenticated: ' . $x[0]['xchan_addr']);