diff options
author | git-marijus <mario@mariovavti.com> | 2017-10-20 10:04:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 10:04:03 +0200 |
commit | 2d06e86b5b99af3a5e6c65f4c510bdeaddd5126a (patch) | |
tree | 8a8134404c7f02617924a461b2893e927943285d /Zotlabs/Module/Register.php | |
parent | 52183f8bf85777068839490c37a882191f216fe4 (diff) | |
parent | 42416aad226ddd34a0e2fb691382320a3c9c9606 (diff) | |
download | volse-hubzilla-2d06e86b5b99af3a5e6c65f4c510bdeaddd5126a.tar.gz volse-hubzilla-2d06e86b5b99af3a5e6c65f4c510bdeaddd5126a.tar.bz2 volse-hubzilla-2d06e86b5b99af3a5e6c65f4c510bdeaddd5126a.zip |
Merge pull request #879 from redmatrix/anaqreon-patch-1
Display different info message if using invite code
Diffstat (limited to 'Zotlabs/Module/Register.php')
-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) { |