diff options
author | Andrew Manning <tamanning@zoho.com> | 2017-10-19 21:09:12 -0400 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-10-20 10:13:17 +0200 |
commit | 8f465e309736c668a43e6c5178e5724f3d292fe9 (patch) | |
tree | ccf08081936f191bec12123d7e693df238f718ee /Zotlabs/Module | |
parent | 00dc7c916d062eb4db07fa2dd1351032236d1fe9 (diff) | |
download | volse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.tar.gz volse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.tar.bz2 volse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.zip |
Display different info message if using invite code
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Register.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php index 9a364e154..b026dc4c6 100644 --- a/Zotlabs/Module/Register.php +++ b/Zotlabs/Module/Register.php @@ -128,7 +128,11 @@ class Register extends \Zotlabs\Web\Controller { $res = send_register_success_email($result['email'],$result['password']); } if($res) { - info( t('Registration successful. Please check your email for validation instructions.') . EOL ) ; + 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) { |