Skip to content

Commit

Permalink
Add verified middleware to Blade dashboard (laravel#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessarcher authored and slimani-dev committed Jan 21, 2023
1 parent d7e641a commit 21e6879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/default/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

Route::get('/dashboard', function () {
return view('dashboard');
})->middleware(['auth'])->name('dashboard');
})->middleware(['auth', 'verified'])->name('dashboard');

require __DIR__.'/auth.php';

0 comments on commit 21e6879

Please sign in to comment.