526 |
if ( @{ $c->error } ) { |
if ( @{ $c->error } ) { |
527 |
my $errors = join "\n",@{ $c->error }; |
my $errors = join "\n",@{ $c->error }; |
528 |
$c->log->info("Sending reset mail to $email failed: $errors"); |
$c->log->info("Sending reset mail to $email failed: $errors"); |
529 |
$c->response->body($c->loc('An error occured sending the email, but your account was created. Please try the password recovery process f you entered the correct email address: [_1]', $errors)); |
$c->response->body($c->loc('An error occured sending the email, but your account was created. Please try the password recovery process if you entered the correct email address: [_1]', $errors)); |
530 |
$c->error(0); # Reset the error condition if you need to |
$c->error(0); # Reset the error condition if you need to |
531 |
} |
} |
532 |
push @errors,$c->loc('Password reset and email sent'); |
push @errors,$c->loc('Password reset and email sent'); |