New task - password confirmation

This commit is contained in:
PovilasKorop
2021-11-01 08:36:28 +02:00
parent 355d40f627
commit 0240281ef9
4 changed files with 48 additions and 1 deletions
+5
View File
@@ -28,4 +28,9 @@ Route::put('profile', [\App\Http\Controllers\ProfileController::class, 'update']
Route::view('/secretpage', 'secretpage')
->name('secretpage');
// Task: this "/verysecretpage" URL should ask user for verifying their password once again
// You need to add some middleware here
Route::view('/verysecretpage', 'verysecretpage')
->name('verysecretpage');
require __DIR__.'/auth.php';