all system emails look fresh now, plus added paddle portal debugging
This commit is contained in:
23
app/Notifications/ResetPasswordNotification.php
Normal file
23
app/Notifications/ResetPasswordNotification.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Auth\Notifications\ResetPassword;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
|
||||
class ResetPasswordNotification extends ResetPassword
|
||||
{
|
||||
public function toMail($notifiable): MailMessage
|
||||
{
|
||||
$resetUrl = $this->resetUrl($notifiable);
|
||||
$expire = (int) config('auth.passwords.'.config('auth.defaults.passwords').'.expire', 60);
|
||||
|
||||
return (new MailMessage)
|
||||
->subject(__('emails.reset_password.subject'))
|
||||
->view('emails.reset-password', [
|
||||
'user' => $notifiable,
|
||||
'resetUrl' => $resetUrl,
|
||||
'expiresIn' => $expire,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user