Skip to content

Commit

Permalink
Fixed error 403 on certain database types
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Jan 24, 2024
1 parent 05a090d commit 3750621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Middleware/LinkId.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function handle($request, Closure $next)
return abort(404);
}

if ($user->id !== $link->user_id) {
if ($user->id != $link->user_id) {
return abort(403);
}

Expand Down

0 comments on commit 3750621

Please # to comment.