F
Filament2mo ago
kisut

Override Reset Password Laravel Basic Template

Hi, I'm using this plugin by visualbuilder https://github.com/visualbuilder/email-templates I want to override the basic laravel reset password email template by template that i created on that plugin. I've follow all the step but the basic email always coming. User Model:
class User extends Authenticatable
{
use HasFactory, Notifiable, HasRoles;


/**
* @param $token
*
* @return void
*/
public function sendPasswordResetNotification($token)
{
$url = \Illuminate\Support\Facades\URL::secure(route('password.reset', ['token' => $token, 'email' =>$this->email]));

$this->notify(new UserResetPasswordRequestNotification($url));
}
class User extends Authenticatable
{
use HasFactory, Notifiable, HasRoles;


/**
* @param $token
*
* @return void
*/
public function sendPasswordResetNotification($token)
{
$url = \Illuminate\Support\Facades\URL::secure(route('password.reset', ['token' => $token, 'email' =>$this->email]));

$this->notify(new UserResetPasswordRequestNotification($url));
}
Also when I save the template, the preview does not come from the email content that I have created? but rather like the template provided by the plugin. I'm little bit confused about this. Thank you
GitHub
GitHub - visualbuilder/email-templates: Email Template Editor for F...
Email Template Editor for Filament. Contribute to visualbuilder/email-templates development by creating an account on GitHub.
1 Reply
kisut
kisutOP2mo ago
Please anyone help
Want results from more Discord servers?
Add your server