Commit 2d06e86b authored by Mario's avatar Mario Committed by GitHub
Browse files

Merge pull request #879 from redmatrix/anaqreon-patch-1

Display different info message if using invite code
parents 52183f8b 42416aad
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment