Auto-fill emails when resetting password

This commit is contained in:
Dane Everitt 2017-02-17 19:45:14 -05:00
parent 0f93ba2495
commit 22da8d47c8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -72,7 +72,7 @@ class SendPasswordReset extends Notification implements ShouldQueue
return (new MailMessage)
->subject('Reset Password')
->line('You are receiving this email because we received a password reset request for your account.')
->action('Reset Password', url('auth/password/reset', $this->token))
->action('Reset Password', url('/auth/password/reset/' . $this->token . '?email=' . $notifiable->email))
->line('If you did not request a password reset, no further action is required.');
}
}