Fixed error 403 on certain database types
https://github.com/LinkStackOrg/LinkStack/issues/692
This commit is contained in:
parent
05a090d167
commit
375062105e
|
@ -20,7 +20,7 @@ class LinkId
|
||||||
return abort(404);
|
return abort(404);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($user->id !== $link->user_id) {
|
if ($user->id != $link->user_id) {
|
||||||
return abort(403);
|
return abort(403);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue