aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/zregister.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/zregister.php b/mod/zregister.php
index 6d29cdf59..b8ed4c66b 100644
--- a/mod/zregister.php
+++ b/mod/zregister.php
@@ -7,6 +7,12 @@ function zregister_init(&$a) {
$cmd = ((argc() > 1) ? argv(1) : '');
+
+ if($cmd === 'invite_check.json') {
+ $result = check_account_invite($_REQUEST['invite_code']);
+ json_return_and_die($result);
+ }
+
if($cmd === 'email_check.json') {
$result = check_account_email($_REQUEST['email']);
json_return_and_die($result);