aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-10-19 21:09:12 -0400
committerMario <mario@mariovavti.com>2017-10-20 10:13:17 +0200
commit8f465e309736c668a43e6c5178e5724f3d292fe9 (patch)
treeccf08081936f191bec12123d7e693df238f718ee
parent00dc7c916d062eb4db07fa2dd1351032236d1fe9 (diff)
downloadvolse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.tar.gz
volse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.tar.bz2
volse-hubzilla-8f465e309736c668a43e6c5178e5724f3d292fe9.zip
Display different info message if using invite code
-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) {