Skip to content

Commit 1db570a

Browse files
committed
captcha only when not BETA
1 parent 1fdbecc commit 1db570a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

lmfdb/templates/base.html

+10-7
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"
2626
integrity="sha384-Nlo8b0yiGl7Dn+BgLn4mxhIIBU6We7aeeiulNCjHdUv/eKHx59s3anfSUjExbDxn"
2727
crossorigin="anonymous">
28-
<!--reCAPTCHA-->
29-
<script src="https://www.google.com/recaptcha/enterprise.js?render=6LchHWwpAAAAACFe52hZNEkUP5Bn5_0FfLiEuF3i&waf=session" async defer></script>
28+
29+
{% if not BETA %}
30+
<!--reCAPTCHA-->
31+
<script src="https://www.google.com/recaptcha/enterprise.js?render=6LchHWwpAAAAACFe52hZNEkUP5Bn5_0FfLiEuF3i&waf=session" async defer></script>
32+
{% endif %}
3033

3134

3235

@@ -182,10 +185,10 @@
182185

183186
{%- if BETA -%}
184187
<body class="beta {{ body_class }}">
185-
{%- else -%}
186-
<body class="{{ body_class }}">
187-
{%- endif -%}
188+
{%- else -%}
189+
<body class="{{ body_class }}">
190+
{%- endif -%}
188191

189-
{% block body -%}{%- endblock body %}
190-
</body>
192+
{% block body -%}{%- endblock body %}
193+
</body>
191194
</html>

0 commit comments

Comments
 (0)