View 'search account' should be restricted.

This commit is contained in:
Aurélien Delobelle 2017-08-16 22:54:40 +02:00
parent 2cfce1c921
commit b4338ce8db

View file

@ -106,6 +106,7 @@ def account_create(request):
return render(request, "kfet/account_create_autocomplete.html", data) return render(request, "kfet/account_create_autocomplete.html", data)
@teamkfet_required
def account_search(request): def account_search(request):
if "q" not in request.GET: if "q" not in request.GET:
raise Http404 raise Http404