Commit 72fcef3e authored by Valentin Kotenko's avatar Valentin Kotenko
Browse files

Merge branch 'develop' of http://gitlab.triare.net/valentin.kotenko/gov-radar into develop

parents 394af22b 6767f91d
......@@ -6,7 +6,7 @@ namespace App\Listeners;
use App\Events\GovUserRegister;
use App\Mail\AdminRegistrationNotification;
use App\Mail\UserCredential as UserEmail;
use App\Mail\WelcomeUser;
use Illuminate\Support\Facades\Mail;
class SendWelcomeGovUser
......@@ -29,7 +29,7 @@ class SendWelcomeGovUser
*/
public function handle(GovUserRegister $event)
{
Mail::to($event->user->email)->send(new UserEmail([
Mail::to($event->user->email)->send(new WelcomeUser([
'name' => $event->user->name . ' ' . $event->user->last_name,
]));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment