forked from mirror/pixelfed
Update ApiV1Controller, fix broken auth check on public timelines. Fixes #2168
This commit is contained in:
parent
b7b296c87c
commit
aa49afc755
1 changed files with 0 additions and 2 deletions
|
@ -1397,8 +1397,6 @@ class ApiV1Controller extends Controller
|
|||
*/
|
||||
public function timelinePublic(Request $request)
|
||||
{
|
||||
abort_if(!config('instance.timeline.local.is_public') && !$request->user(), 403);
|
||||
|
||||
$this->validate($request,[
|
||||
'page' => 'nullable|integer|max:40',
|
||||
'min_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
|
||||
|
|
Loading…
Reference in a new issue