Skip to content

Commit 3750621

Browse files
committed
Fixed error 403 on certain database types
#692
1 parent 05a090d commit 3750621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/LinkId.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function handle($request, Closure $next)
2020
return abort(404);
2121
}
2222

23-
if ($user->id !== $link->user_id) {
23+
if ($user->id != $link->user_id) {
2424
return abort(403);
2525
}
2626

0 commit comments

Comments
 (0)