chore: update wording and info on new user email

This commit is contained in:
Miguel Nogueira 2022-03-05 23:24:25 +00:00
parent 2295d31245
commit 52ece54202

View File

@ -69,9 +69,10 @@ class NewUser extends Notification implements ShouldQueue
->greeting('Hi ' . $notifiable->name . ',') ->greeting('Hi ' . $notifiable->name . ',')
->from(config('notification.sender.address'), config('notification.sender.name')) ->from(config('notification.sender.address'), config('notification.sender.name'))
->subject(config('app.name').' - New user') ->subject(config('app.name').' - New user')
->line($this->user->name.' has just registered to our site.') ->line($this->user->name.' has created a new account.')
->line('You are receiving this email because you opted to receive new user notifications.') ->line('This request came from the IP address ' . $this->user->originalIP . '.')
->action('View profile', url(route('showSingleProfile', ['user' => $this->user->id]))) ->line('You are receiving this email because you\'re a site admin, and the app is configured to send new user notifications.')
->action('View user', url(route('showSingleProfile', ['user' => $this->user->id])))
->salutation('The team at ' . config('app.name')); ->salutation('The team at ' . config('app.name'));
} }