Skip to content

Commit

Permalink
Do not include captcha field in email context
Browse files Browse the repository at this point in the history
  • Loading branch information
nolsto committed May 14, 2024
1 parent a803717 commit d5ebb0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mezzanine/forms/page_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def form_processor(request, page):
fields = [
(v.label, format_value(form.cleaned_data[k]))
for (k, v) in form.fields.items()
if k != 'captcha'
]
context = {
"fields": fields,
Expand Down

0 comments on commit d5ebb0a

Please sign in to comment.