From a51f4db8e877a620cf887393305a1711eaa6842a Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Wed, 19 Dec 2018 16:54:14 +0800 Subject: [PATCH] fix reset password email --- app/Notifications/ResetPassword.php | 2 +- config/mail.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Notifications/ResetPassword.php b/app/Notifications/ResetPassword.php index 73bb9c55..109bd1d9 100644 --- a/app/Notifications/ResetPassword.php +++ b/app/Notifications/ResetPassword.php @@ -17,7 +17,7 @@ class ResetPassword extends Notification { return (new MailMessage) ->line('You are receiving this email because we received a password reset request for your account.') - ->action('Reset Password', route('password.request', ['token' => $this->token]).'?email='.urlencode($notifiable->email)) + ->action('Reset Password', route('password.reset', ['token' => $this->token]).'?email='.urlencode($notifiable->email)) ->line('If you did not request a password reset, no further action is required.'); } } diff --git a/config/mail.php b/config/mail.php index bb92224c..45dd03a4 100644 --- a/config/mail.php +++ b/config/mail.php @@ -56,8 +56,8 @@ return [ */ 'from' => [ - 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), - 'name' => env('MAIL_FROM_NAME', 'Example'), + 'address' => env('MAIL_FROM_ADDRESS', 'noreplay@cief-malaysia.com'), + 'name' => env('MAIL_FROM_NAME', 'Exchange CIEF'), ], /*