From 2e3d68c40562a42faea7341244598ed4bff442b8 Mon Sep 17 00:00:00 2001 From: OhmygoodR <109280933+OhmygoodR@users.noreply.github.com> Date: Sun, 19 Nov 2023 17:00:37 +0800 Subject: [PATCH] Update web.php --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index a7a7ed7e..4419b6c8 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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';