fix: Creating users with same e-mail address doesn't work
This commit is contained in:
parent
7a4a0be5d4
commit
efb0109465
4 changed files with 64 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue