Commit fb658bee authored by Jerome Flesch's avatar Jerome Flesch
Browse files

Scanner DB: fix admin comment posting

parent 96105cc6
Pipeline #345429 passed with stages
in 10 minutes and 33 seconds
......@@ -394,7 +394,7 @@ def comment_report(request, report_id):
except (backend.models.scannerdb.ScanReport.DoesNotExist, ValueError):
raise django.http.Http404('Report {} not found'.format(report_id))
form = forms.ReportRejectionForm(request.POST)
form = forms.AdminCommentForm(request.POST)
if not form.is_valid():
return django.http.HttpResponseForbidden()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment