Browse Source

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

master
Jonathan Rosenbaum 1 year ago
parent
commit
e764ccc1ff
  1. 2
      app/views/layouts/application.html.haml

2
app/views/layouts/application.html.haml

@ -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 }

Loading…
Cancel
Save