aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-08-11 11:13:48 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-08-11 11:13:48 +0100
commit2922479643acbe379ef7540dab3358b27baf0832 (patch)
tree57c00669c3c78e6a267c86be378eec528135eba0
parentca0868c438832ea1611c0a00599f9240306ebd8b (diff)
[UK] Add recaptcha template.
-rw-r--r--templates/web/fixmystreet-uk-councils/auth/form_extra.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/fixmystreet-uk-councils/auth/form_extra.html b/templates/web/fixmystreet-uk-councils/auth/form_extra.html
new file mode 100644
index 000000000..92cc31050
--- /dev/null
+++ b/templates/web/fixmystreet-uk-councils/auth/form_extra.html
@@ -0,0 +1,4 @@
+[% IF c.cobrand.requires_recaptcha %]
+ <script nonce="[% csp_nonce %]" src="https://www.google.com/recaptcha/api.js" async defer></script>
+ <div class="g-recaptcha" data-sitekey="[% c.config.RECAPTCHA.site_key %]"></div>
+[% END %]