We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b79760 commit 578087bCopy full SHA for 578087b
djangocms_form_builder/recaptcha.py
@@ -63,10 +63,9 @@ def get_recaptcha_field(instance):
63
) # installing recaptcha 3 ?
64
if not widget_params["api_params"]:
65
del widget_params["api_params"]
66
- field = CAPTCHA_FIELDS[instance.captcha_widget](
+ return CAPTCHA_FIELDS[instance.captcha_widget](
67
widget=CAPTCHA_WIDGETS[instance.captcha_widget](**widget_params), label=""
68
)
69
- return field
70
71
72
keys_available = installed and (
0 commit comments