From c961e6d9c7155c884e9eaa39cf253cc95d1188d6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 10 Apr 2024 15:29:45 +0200 Subject: [PATCH] Add authentication middleware to download.backup route in web.php --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 959cc06be..a05aa8e3e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -131,7 +131,7 @@ } catch (\Throwable $e) { throw $e; } -})->name('download.backup'); +})->middleware('auth')->name('download.backup'); Route::get('/admin', AdminIndex::class)->name('admin.index');