anon user creation didn't use defaults for yes/no fields
This commit is contained in:
parent
202643d9b4
commit
f2d27f96e3
3 changed files with 8 additions and 3 deletions
|
|
@ -208,7 +208,7 @@ sub createAccountSave {
|
|||
}
|
||||
}
|
||||
$error .= $self->error unless($self->_isValidPassword($password,$passConfirm));
|
||||
my ($profile, $temp, $warning) = WebGUI::Operation::Profile::validateProfileData($self->session);
|
||||
my ($profile, $temp, $warning) = WebGUI::Operation::Profile::validateProfileData($self->session, {regOnly => 1});
|
||||
$error .= $temp;
|
||||
|
||||
return $self->createAccount($error) unless ($error eq "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue