Update password reset email
This commit is contained in:
parent
0469d64577
commit
df3f7e31be
@ -72,7 +72,8 @@ class User extends Authenticatable implements IDs
|
|||||||
*/
|
*/
|
||||||
public function sendPasswordResetNotification($token)
|
public function sendPasswordResetNotification($token)
|
||||||
{
|
{
|
||||||
$this->notify((new ResetPasswordNotification($token))->onQueue('high'));
|
$this->notify((new ResetPasswordNotification($token))
|
||||||
|
->onQueue('user'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* INTERFACES */
|
/* INTERFACES */
|
||||||
|
@ -25,7 +25,7 @@ class ResetPassword extends ResetPasswordNotification implements ShouldQueue
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->markdown('email.user.passwordreset',[
|
->markdown('mail.password.reset',[
|
||||||
'site'=>$notifiable->site,
|
'site'=>$notifiable->site,
|
||||||
'user'=>$notifiable,
|
'user'=>$notifiable,
|
||||||
'reset_link'=>route('password.reset',$this->token,true),
|
'reset_link'=>route('password.reset',$this->token,true),
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
@component('mail::message',['site'=>$site,'heading'=>'Password Reset'])
|
@component('mail::message',['site'=>$site,'heading'=>'Password Reset'])
|
||||||
Hi {{ isset($user) ? $user->name_full.',' : '' }}
|
Hi {{ isset($user) ? $user->name_full.',' : '' }}
|
||||||
|
|
||||||
You are receiving this email because we received a password reset request for your account.
|
You are receiving this email because we received a password reset request for your account. If you did not request a password reset, no further action is required.
|
||||||
|
|
||||||
If you did not request a password reset, no further action is required.
|
|
||||||
|
|
||||||
To reset your password, please follow this link, or click on the URL below:
|
To reset your password, please follow this link, or click on the URL below:
|
||||||
@component('mail::button',['url'=>$reset_link])
|
@component('mail::button',['url'=>$reset_link])
|
||||||
@ -11,7 +9,11 @@ Reset Password
|
|||||||
@endcomponent
|
@endcomponent
|
||||||
|
|
||||||
@component('mail::subcontent')
|
@component('mail::subcontent')
|
||||||
Reset password: {{ $reset_link }}
|
If the button above doesnt work, you can copy and paste this link into your browser, and take it from there:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ $reset_link }}
|
||||||
|
```
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
|
||||||
Thanks,<br>
|
Thanks,<br>
|
Loading…
Reference in New Issue
Block a user