This commit is contained in:
cuom1999 2022-10-29 03:24:14 -05:00
parent 9ac06bbd51
commit 091826afdb

View file

@ -168,7 +168,7 @@ class ChatUserSearchSelect2View(BaseListView):
return _get_user_queryset(self.term) return _get_user_queryset(self.term)
def get(self, request, *args, **kwargs): def get(self, request, *args, **kwargs):
if self.request.user.is_authenticated: if not self.request.user.is_authenticated:
raise Http404() raise Http404()
self.request = request self.request = request
self.kwargs = kwargs self.kwargs = kwargs