From cef10551820530632a86fa6f1306fee95c5cac43 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 7 May 2017 12:49:26 -0500 Subject: [PATCH] force host on password reset notification --- src/Illuminate/Auth/Notifications/ResetPassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/Notifications/ResetPassword.php b/src/Illuminate/Auth/Notifications/ResetPassword.php index a329c08cd7ec..cd1ca8661d15 100644 --- a/src/Illuminate/Auth/Notifications/ResetPassword.php +++ b/src/Illuminate/Auth/Notifications/ResetPassword.php @@ -46,7 +46,7 @@ public function toMail($notifiable) { return (new MailMessage) ->line('You are receiving this email because we received a password reset request for your account.') - ->action('Reset Password', route('password.reset', $this->token)) + ->action('Reset Password', url(config('app.url').route('password.reset', $this->token, false))) ->line('If you did not request a password reset, no further action is required.'); } }