Skip to content

Commit

Permalink
Update web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OhmygoodR authored Nov 19, 2023
1 parent 0a9c994 commit 2e3d68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

// Task: this "/verysecretpage" URL should ask user for verifying their password once again
// You need to add some middleware here
Route::view('/verysecretpage', 'verysecretpage')
Route::view('/verysecretpage', 'verysecretpage')->middleware('password.confirm')
->name('verysecretpage');

require __DIR__.'/auth.php';

0 comments on commit 2e3d68c

Please sign in to comment.