From 830870c58ee1883f741e5af5a9f3e2d9329c3477 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 14 Nov 2015 08:07:09 +0100 Subject: [PATCH] Fix for issue 2060: When password is provided during the register process now the user is redirected correctly. --- mod/register.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/register.php b/mod/register.php index c4dc382cb8..4c4fcc2af1 100644 --- a/mod/register.php +++ b/mod/register.php @@ -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) { -- 2.39.5