aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-10-20 10:04:03 +0200
committerGitHub <noreply@github.com>2017-10-20 10:04:03 +0200
commit2d06e86b5b99af3a5e6c65f4c510bdeaddd5126a (patch)
tree8a8134404c7f02617924a461b2893e927943285d /Zotlabs
parent52183f8bf85777068839490c37a882191f216fe4 (diff)
parent42416aad226ddd34a0e2fb691382320a3c9c9606 (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Module/Register.php6
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) {