]> git.mxchange.org Git - friendica.git/blobdiff - mod/register.php
Merge pull request #2094 from annando/1511-api
[friendica.git] / mod / register.php
index c4dc382cb8d99c174ea34d16f2899f58aeb4362e..4c4fcc2af12e7b980bcc3a7b4ec6c658ab87c7f1 100644 (file)
@@ -100,6 +100,9 @@ function register_post(&$a) {
                                                 ). EOL
                                );
                        }
+               } else {
+                       info( t('Registration successful.') . EOL ) ;
+                       goaway(z_root());
                }
        }
        elseif($a->config['register_policy'] == REGISTER_APPROVE) {