Skip to content

Commit

Permalink
Merge pull request #6139 from edgarcosta/captcha2
Browse files Browse the repository at this point in the history
captcha only when not BETA
  • Loading branch information
edgarcosta authored Aug 12, 2024
2 parents 1fdbecc + 1db570a commit e80d88f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lmfdb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"
integrity="sha384-Nlo8b0yiGl7Dn+BgLn4mxhIIBU6We7aeeiulNCjHdUv/eKHx59s3anfSUjExbDxn"
crossorigin="anonymous">
<!--reCAPTCHA-->
<script src="https://www.google.com/recaptcha/enterprise.js?render=6LchHWwpAAAAACFe52hZNEkUP5Bn5_0FfLiEuF3i&waf=session" async defer></script>

{% if not BETA %}
<!--reCAPTCHA-->
<script src="https://www.google.com/recaptcha/enterprise.js?render=6LchHWwpAAAAACFe52hZNEkUP5Bn5_0FfLiEuF3i&waf=session" async defer></script>
{% endif %}



Expand Down Expand Up @@ -182,10 +185,10 @@

{%- if BETA -%}
<body class="beta {{ body_class }}">
{%- else -%}
<body class="{{ body_class }}">
{%- endif -%}
{%- else -%}
<body class="{{ body_class }}">
{%- endif -%}

{% block body -%}{%- endblock body %}
</body>
{% block body -%}{%- endblock body %}
</body>
</html>

0 comments on commit e80d88f

Please sign in to comment.