mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Merge pull request #1505 from jbargu/jg_sci_2928_few_turbolinks_bugs
Check for recaptcha enabled boolean value
This commit is contained in:
commit
0fa06ea9fc
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue