Skip to content

Commit

Permalink
Abort with 403 instead of 401
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored Dec 9, 2022
1 parent 7532ffd commit 4a0f0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZipperController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ZipperController extends Controller
public function create(string $cipher, Request $request)
{
if (! $request->hasValidSignature()) {
abort(401);
abort(403);
}

$plaintext = Zipper::decrypt($cipher);
Expand Down

0 comments on commit 4a0f0ca

Please sign in to comment.