Recaptcha v3 should be working now, but you must have a site key and secret key since env is hardwired into head.

This commit is contained in:
Jonathan Rosenbaum 2023-07-25 05:12:33 +00:00
parent 9ea241f8ec
commit e764ccc1ff

View File

@ -20,7 +20,7 @@
%meta{property: 'og:type', content: 'website'} %meta{property: 'og:type', content: 'website'}
%meta{property: 'og:image', content: og_image} %meta{property: 'og:image', content: og_image}
%meta{name: "theme-color", content: @theme_colour} %meta{name: "theme-color", content: @theme_colour}
%script{src: "https://www.google.com/recaptcha/api.js?render=6LcWZFAnAAAAANKko--rHWo2iAkfGdcbkHKtF1-A}" } %script{src: "https://www.google.com/recaptcha/api.js?render=#{ENV['RECAPTCHA_SITE_KEY']}" }
= yield :head = yield :head
%body{ class: page_style } %body{ class: page_style }