user: remove name_first and name_last

This commit is contained in:
Matthew Penner 2022-12-14 18:17:27 -07:00
parent 2f15d94957
commit 6b11836a41
No known key found for this signature in database
8 changed files with 7 additions and 23 deletions

View file

@ -33,7 +33,7 @@ class AccountCreated extends Notification implements ShouldQueue
public function toMail(): MailMessage
{
$message = (new MailMessage())
->greeting('Hello ' . $this->user->name . '!')
->greeting('Hello!')
->line('You are receiving this email because an account has been created for you on ' . config('app.name') . '.')
->line('Username: ' . $this->user->username)
->line('Email: ' . $this->user->email);

View file

@ -21,7 +21,7 @@ class MailTested extends Notification
{
return (new MailMessage())
->subject('Pterodactyl Test Message')
->greeting('Hello ' . $this->user->name . '!')
->greeting('Hello ' . $this->user->username . '!')
->line('This is a test of the Pterodactyl mail system. You\'re good to go!');
}
}