Add authentication middleware to download.backup route in web.php

This commit is contained in:
Andras Bacsai committed 2024-04-10 15:29:45 +02:00
1 parent c6844ff47a
commit c961e6d9c7
1 file changed
+1 -1
+1 -1
View File
@@ -131,7 +131,7 @@ Route::get('/download/backup/{executionId}', function () {
} catch (\Throwable $e) {
throw $e;
}
})->name('download.backup');
})->middleware('auth')->name('download.backup');
Route::get('/admin', AdminIndex::class)->name('admin.index');