aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Register.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-10-19 21:09:12 -0400
committerGitHub <noreply@github.com>2017-10-19 21:09:12 -0400
commit42416aad226ddd34a0e2fb691382320a3c9c9606 (patch)
tree8a8134404c7f02617924a461b2893e927943285d /Zotlabs/Module/Register.php
parent52183f8bf85777068839490c37a882191f216fe4 (diff)
downloadvolse-hubzilla-42416aad226ddd34a0e2fb691382320a3c9c9606.tar.gz
volse-hubzilla-42416aad226ddd34a0e2fb691382320a3c9c9606.tar.bz2
volse-hubzilla-42416aad226ddd34a0e2fb691382320a3c9c9606.zip
Display different info message if using invite code
Diffstat (limited to 'Zotlabs/Module/Register.php')
-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) {