fix: Creating users with same e-mail address doesn't work

This commit is contained in:
Doug Bell 2007-02-16 16:53:50 +00:00
parent 7a4a0be5d4
commit efb0109465
4 changed files with 64 additions and 3 deletions

View file

@ -190,8 +190,8 @@ sub createAccountSave {
$error .= $temp;
return $self->createAccount($error) unless ($error eq "");
#If Email address is not unique, a warning is displayed
if($warning ne "" && !$self->session->form->process("confirm")){
# If Email address is not unique, a warning is displayed
if ($warning ne "" && !$self->session->form->process("confirm")) {
return $self->createAccount('<li>'.$i18n->get(1078).'</li>', 1);
}

View file

@ -2509,7 +2509,8 @@ div.tabs {
},
'1078' => {
message => q|There is already a user of this system with the email address you've entered. Press "Save" if you still wish to create this user|,
message => q|There is already a user of this system with the email address you've entered.
Please re-complete the form and press "Save" if you still wish to create this user|,
lastUpdated => 1067951807
},