aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zregister.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-08 18:50:04 -0700
committerfriendica <info@friendica.com>2012-08-08 18:50:04 -0700
commit9a39d4ade21af15e9d6a3aae1f467f0d173cc0de (patch)
tree569a3839709bf452b44515dc8c6d3f887f78b9dc /mod/zregister.php
parentc28da5673731acbedecb4209c38b72046db597e1 (diff)
downloadvolse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.tar.gz
volse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.tar.bz2
volse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.zip
moving forward again
Diffstat (limited to 'mod/zregister.php')
-rw-r--r--mod/zregister.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/zregister.php b/mod/zregister.php
index 7a8d67e78..87a5cff0c 100644
--- a/mod/zregister.php
+++ b/mod/zregister.php
@@ -18,9 +18,7 @@ function zregister_init(&$a) {
if($result['message'])
$result['error'] = true;
- header('content-type: application/json');
- echo json_encode($result);
- killme();
+ json_return_and_die($result);
}
$pw1 = t("Password too short");