Fix for issue 2060: When password is provided during the register process now the user is redirected correctly.
This commit is contained in:
parent
a552845d8f
commit
830870c58e
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue