- fix [ 1216810 ] anonymous registration errors persist (fixed for real!)

This commit is contained in:
Matthew Wilson 2005-12-12 07:07:06 +00:00
parent 3578a029df
commit 2b20ee661e
2 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@
- fix [ 1377276 ] Calendar Pop up issue
- fix [ 1328728 ] Export exports root page n times
- fix [ 1338306 ] adminConsoleHelpIcon displayed at wrong position
- fix [ 1216810 ] anonymous registration errors persist (fixed for real!)
- fix
[ 1365822 ] makePrintable does not work in Collaboration System
- fix [ 1376621 ] dateSubmitted not updated on posts

View file

@ -200,13 +200,14 @@ sub createAccountSave {
my $password = $session{form}{'authWebGUI.identifier'};
my $passConfirm = $session{form}{'authWebGUI.identifierConfirm'};
my $error = $self->error if(!$self->validUsername($username));
my $error;
$error = $self->error unless($self->validUsername($username));
if ($session{setting}{webguiUseCaptcha}) {
unless ($session{form}{'authWebGUI.captcha.validation'} eq Digest::MD5::md5_base64(lc($session{form}{'authWebGUI.captcha'}))) {
$error .= WebGUI::International::get("captcha failure","AuthWebGUI");
}
}
$error.= $self->error if(!$self->_isValidPassword($password,$passConfirm));
$error .= $self->error unless($self->_isValidPassword($password,$passConfirm));
my ($profile, $temp, $warning) = WebGUI::Operation::Profile::validateProfileData();
$error .= $temp;