Skip to content

Commit e7dac6d

Browse files
committed
add email verification to upgrade guide.
1 parent 7bb14d5 commit e7dac6d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

upgrade.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,18 @@ The Eloquent query builder's `latest` and `oldest` methods have been updated to
229229

230230
An Eloquent model's changes are now available to the `wasChanged` method **before** firing the `updated` model event. Generally, this should be considered a bug fix; however, it is listed as a breaking change out of caution. [Please let us know if you encounter any issues surrounding this change](https://github.com/laravel/framework/pull/25026).
231231

232+
### Email Verification
233+
234+
**Likelihood Of Impact: Optional**
235+
236+
If you choose to use Laravel's new email verification services, you will need to add additional scaffolding to your application. First, add the `VerificationController` to your application: [App\Http\Controllers\Auth\VerificationController](https://github.com/laravel/laravel/blob/develop/app/Http/Controllers/Auth/VerificationController.php).
237+
238+
You will also need the verification view stub. This view should be placed at `resources/views/auth/verify.blade.php`. You may obtain the view's contents [on GitHub](https://github.com/laravel/framework/blob/5.7/src/Illuminate/Auth/Console/stubs/make/views/auth/verify.stub).
239+
240+
Finally, when calling the `Auth::routes` method, you should pass the `verify` option to the method:
241+
242+
Auth::routes(['verify' => true]);
243+
232244
### Filesystem
233245

234246
#### `Filesystem` Contract Methods

0 commit comments

Comments
 (0)