Merge pull request #2076 from annando/issue-2060

Fix for issue 2060: Redirection after registration
This commit is contained in:
Tobias Diekershoff 2015-11-14 09:08:26 +01:00
commit 53c10aaef1

View file

@ -100,6 +100,9 @@ function register_post(&$a) {
). EOL ). EOL
); );
} }
} else {
info( t('Registration successful.') . EOL ) ;
goaway(z_root());
} }
} }
elseif($a->config['register_policy'] == REGISTER_APPROVE) { elseif($a->config['register_policy'] == REGISTER_APPROVE) {