Merge pull request #1505 from jbargu/jg_sci_2928_few_turbolinks_bugs

Check for recaptcha enabled boolean value
This commit is contained in:
Jure Grabnar 2019-02-20 18:29:40 +01:00 committed by GitHub
commit 0fa06ea9fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ invite_to_team = type.in?(%w(invite_to_team invite_to_team_with_role))
</div>
<% end %>
<% end %>
<% if ENV['ENABLE_RECAPTCHA'] %>
<% if ENV['ENABLE_RECAPTCHA'] == 'true' %>
<div id="recaptcha-service" class="g-recaptcha"
data-callback="recaptchaCallback"
data-sitekey=<%= ENV['RECAPTCHA_SITE_KEY'] %>></div>