Merge branch 'trunk'

This commit is contained in:
Olivier Legat 2022-01-17 13:21:38 +01:00
commit cf7cae2341
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@
.env
.env.backup
.env.dev
.env.prod
.phpunit.result.cache
docker-compose.override.yml
Homestead.json

View file

@ -33,7 +33,7 @@ class PostController extends Controller
'object' => $request->object,
'message' => $request->message
);
Mail::to(env('MAIL_FROM_ADDRESS', 'rhd@ldc.fr'))->send(new SendMail($data));
Mail::to(env('MAIL_CONTACT_ADDRESS', 'rhd@ldc.fr'))->send(new SendMail($data));
return redirect()->back()->withSuccess('Votre message a bien été envoyé !');
}
}