Skip to content

Commit

Permalink
Add line about expiring password reset in notification email
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldyrynda committed Jan 28, 2019
1 parent 8dfb2ec commit 607caff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Auth/Notifications/ResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function toMail($notifiable)
->subject(Lang::getFromJson('Reset Password Notification'))
->line(Lang::getFromJson('You are receiving this email because we received a password reset request for your account.'))
->action(Lang::getFromJson('Reset Password'), url(config('app.url').route('password.reset', $this->token, false)))
->line(Lang::transChoice('Your password reset link will expire in :count minute.|Your password reset link will expire in :count minutes.', config('auth.passwords.users.expire')))
->line(Lang::getFromJson('If you did not request a password reset, no further action is required.'));
}

Expand Down

0 comments on commit 607caff

Please sign in to comment.