diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-03-15 21:54:10 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-03-15 21:54:10 +0100 |
commit | 521b091779ddb2a4ca58c28af9312cb5bcf2dd9f (patch) | |
tree | 27d854c5b8668470a3005425e428b8c115550aad /mod/post.php | |
parent | f0736fc955e69d4650f95dc937f26be222967199 (diff) | |
parent | 3cb179aff19d803b91261e410c50b36e4bae1246 (diff) | |
download | volse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.tar.gz volse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.tar.bz2 volse-hubzilla-521b091779ddb2a4ca58c28af9312cb5bcf2dd9f.zip |
merge
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/post.php b/mod/post.php index 54d0d8db9..95c984b40 100644 --- a/mod/post.php +++ b/mod/post.php @@ -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']); @@ -281,7 +281,7 @@ function post_init(&$a) { if($test) { $ret['message'] .= 'auth failure fallthrough ' . print_r($_REQUEST,true) . print_r($j,true) . EOL; - json_return_and_dir($ret); + json_return_and_die($ret); } if(strstr($desturl,z_root() . '/rmagic')) |