diff options
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Register.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php index 9cf0960c0..95e3ca96f 100644 --- a/Zotlabs/Module/Register.php +++ b/Zotlabs/Module/Register.php @@ -130,6 +130,13 @@ class Register extends \Zotlabs\Web\Controller { else { $res = send_register_success_email($result['email'],$result['password']); } + if($res) { + if($invite_code) { + info( t('Registration successful. Continue to create your first channel...') . EOL ) ; + } else { + info( t('Registration successful. Please check your email for validation instructions.') . EOL ) ; + } + } } elseif($policy == REGISTER_APPROVE) { $res = send_reg_approval_email($result); |