Skip to content

Commit

Permalink
fix: Mimetype check on extension upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Oct 30, 2023
1 parent 21adb1e commit e040987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/API/Settings/ExtensionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function index()
public function upload()
{
validate([
'extension' => 'required|max:5000000',
'extension' => 'required|max:5000000|mimes:zip,lmne,signed',
]);

$verify = false;
Expand Down

0 comments on commit e040987

Please sign in to comment.