Security Patch - Exporting feedback data to excel file

This commit is contained in:
Dillon
2023-10-08 03:50:19 +08:00
parent f595c43f2c
commit 1b559f91a2
4 changed files with 63 additions and 8 deletions
+1 -1
View File
@@ -1198,7 +1198,7 @@ Route::get('/feedback', function () {
return view('pages.feedback');
})->name('admin.feedback');
Route::get('/export/feedback', 'Exports\ExportFeedbackDataController@export')->name('feedback.export');
Route::get('/export/feedback', 'Exports\ExportFeedbackDataController@export')->middleware(['api'])->middleware(['valid.token'])->name('feedback.export');
Route::get('/404', function () {
abort(404);