aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Register.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-28 20:31:06 -0800
committerzotlabs <mike@macgirvin.com>2018-02-28 20:31:06 -0800
commit2b910eb5aa204e1914c8c73afe369c443bd1ff49 (patch)
tree68ae43f1b78f1e2cd387b33ad42c238edd58a605 /Zotlabs/Module/Register.php
parent9672d35d8c614f174b313ef1b631dc189e5ce997 (diff)
downloadvolse-hubzilla-2b910eb5aa204e1914c8c73afe369c443bd1ff49.tar.gz
volse-hubzilla-2b910eb5aa204e1914c8c73afe369c443bd1ff49.tar.bz2
volse-hubzilla-2b910eb5aa204e1914c8c73afe369c443bd1ff49.zip
Create one and only one 'registration successful, check your email' popup.
Diffstat (limited to 'Zotlabs/Module/Register.php')
-rw-r--r--Zotlabs/Module/Register.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php
index c7fa1cee8..5356669e9 100644
--- a/Zotlabs/Module/Register.php
+++ b/Zotlabs/Module/Register.php
@@ -123,9 +123,6 @@ class Register extends \Zotlabs\Web\Controller {
if($policy == REGISTER_OPEN ) {
if($email_verify) {
$res = verify_email_address($result);
- if($res) {
- info( t('Registration successful. Please check your email for validation instructions.') . EOL ) ;
- }
}
else {
$res = send_register_success_email($result['email'],$result['password']);
@@ -133,7 +130,8 @@ class Register extends \Zotlabs\Web\Controller {
if($res) {
if($invite_code) {
info( t('Registration successful. Continue to create your first channel...') . EOL ) ;
- } else {
+ }
+ else {
info( t('Registration successful. Please check your email for validation instructions.') . EOL ) ;
}
}