diff --git a/cgi/reset_password.pl b/cgi/reset_password.pl index ac71be2e5d6e2..0e99adb7ccb8d 100755 --- a/cgi/reset_password.pl +++ b/cgi/reset_password.pl @@ -73,6 +73,10 @@ if ($id =~ /\@/) { my $emails_ref = retrieve("$data_root/users_emails.sto"); + if (not defined $emails_ref->{$id}) { + # not found, try with lower case email + $id = lc $id; + } if (not defined $emails_ref->{$id}) { push @errors, $Lang{error_reset_unknown_email}{$lang}; }