You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
31 lines
760 B
31 lines
760 B
<?php |
|
|
|
namespace App\Providers; |
|
|
|
use Illuminate\Support\ServiceProvider; |
|
use Illuminate\Auth\Notifications\VerifyEmail; |
|
use Illuminate\Notifications\Messages\MailMessage; |
|
|
|
class AppServiceProvider extends ServiceProvider |
|
{ |
|
/** |
|
* Register any application services. |
|
*/ |
|
public function register(): void |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Bootstrap any application services. |
|
*/ |
|
public function boot(): void |
|
{ |
|
VerifyEmail::toMailUsing(function (object $notifiable, string $url) { |
|
return (new MailMessage) |
|
->subject('Verify Email Address') |
|
->line('Click the button below to verify your email address.') |
|
->action('Verify Email Address', $url); |
|
}); |
|
} |
|
}
|
|
|