Skip to content

Commit

Permalink
Merge pull request #58 from laravel/driesvints-patch-1
Browse files Browse the repository at this point in the history
[1.x] Add request to code snippet
  • Loading branch information
taylorotwell committed Sep 18, 2020
2 parents a7dce27 + 36b7c9f commit 874afac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ All of the authentication view's rendering logic may be customized using the app
```php
use Laravel\Fortify\Fortify;

Fortify::resetPasswordView(function () {
return view('auth.reset-password');
Fortify::resetPasswordView(function ($request) {
return view('auth.reset-password', ['request' => $request]);
});
```

Expand Down

0 comments on commit 874afac

Please sign in to comment.