21 lines
563 B
PHP
21 lines
563 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Auth\Notifications\VerifyEmail;
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AuthServiceProvider extends ServiceProvider
|
|
{
|
|
public function boot()
|
|
{
|
|
VerifyEmail::toMailUsing(function ($notifiable, $url) {
|
|
return (new MailMessage)
|
|
->subject('Verify Email Address')
|
|
->line('Click the button below to verify your email address.')
|
|
->action('Verify Email Address', $url);
|
|
});
|
|
}
|
|
}
|