mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update DiscoverController
This commit is contained in:
parent
5b713a1e0f
commit
d371c5a7de
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class DiscoverController extends Controller
|
|||
public function getHashtags(Request $request)
|
||||
{
|
||||
$auth = Auth::check();
|
||||
abort_if(!config('instance.discover.tags.is_public') && $auth, 403);
|
||||
abort_if(!config('instance.discover.tags.is_public') && !$auth, 403);
|
||||
|
||||
$this->validate($request, [
|
||||
'hashtag' => 'required|alphanum|min:2|max:124',
|
||||
|
|
Loading…
Reference in a new issue