mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if ENV['ENABLE_RECAPTCHA'] %>
|
<% if ENV['ENABLE_RECAPTCHA'] == 'true' %>
|
||||||
<div id="recaptcha-service" class="g-recaptcha"
|
<div id="recaptcha-service" class="g-recaptcha"
|
||||||
data-callback="recaptchaCallback"
|
data-callback="recaptchaCallback"
|
||||||
data-sitekey=<%= ENV['RECAPTCHA_SITE_KEY'] %>></div>
|
data-sitekey=<%= ENV['RECAPTCHA_SITE_KEY'] %>></div>
|
||||||
|
|
Loading…
Reference in a new issue