forked from DGNum/gestioCOF
Merge branch 'aureplop/fix_view_account_search' into 'test/views_kfet'
View 'search account' should be restricted. See merge request !245
This commit is contained in:
commit
0afbd577b1
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ def account_create(request):
|
|||
return render(request, "kfet/account_create_autocomplete.html", data)
|
||||
|
||||
|
||||
@teamkfet_required
|
||||
def account_search(request):
|
||||
if "q" not in request.GET:
|
||||
raise Http404
|
||||
|
|
Loading…
Reference in a new issue