]> git.mxchange.org Git - friendica.git/commitdiff
Fix for issue 2060: When password is provided during the register process now the...
authorMichael Vogel <icarus@dabo.de>
Sat, 14 Nov 2015 07:07:09 +0000 (08:07 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 14 Nov 2015 07:07:09 +0000 (08:07 +0100)
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) {