Update DiscoverController

pull/1480/head
Daniel Supernault 6 years ago
parent 5b713a1e0f
commit d371c5a7de
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save