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.
2 parents 82b4b67 + 26ccf3c commit afc03f0Copy full SHA for afc03f0
benefits/core/templates/core/base.html
@@ -161,9 +161,5 @@
161
});
162
163
</script>
164
-
165
- {% if request.recaptcha %}
166
- <script nonce="{{ request.csp_nonce }}" src="{{ request.recaptcha.script_api }}"></script>
167
- {% endif %}
168
</body>
169
</html>
benefits/core/templates/core/includes/form.html
@@ -79,6 +79,8 @@
79
80
81
{% if request.recaptcha %}
82
+ <script nonce="{{ request.csp_nonce }}" src="{{ request.recaptcha.script_api }}"></script>
83
+
84
{% comment %}
85
Adapted from https://stackoverflow.com/a/63290578/453168
86
{% endcomment %}
0 commit comments