3
0
Fork 0

Lot's of bug fixes

This commit is contained in:
BuildTools 2021-06-27 21:01:43 +02:00
parent ad320963fc
commit 7718ed6c32
196 changed files with 51167 additions and 3010 deletions

40
app/Mail/EmailChange.php Normal file
View file

@ -0,0 +1,40 @@
<?php
namespace App\Mail;
use App\User;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class EmailChange extends Mailable
{
use Queueable, SerializesModels;
private $change;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct($change)
{
$this->change = $change;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
$user = User::findOrFail($this->change->user_id);
return $this->subject('Change Email')->markdown('emails.change')->with([
'user' => $user,
'token' => $this->change->token,
'email' => $this->change->email
]);
}
}