Auto logs user in with prefilled guest username if no captcha is present

This commit is contained in:
Jeremy Zhang
2018-02-16 01:12:25 +00:00
parent e8ecacb9be
commit 9e53f16eb2
3 changed files with 4 additions and 2 deletions

View File

@ -411,7 +411,7 @@
const guild_id = "{{ guild_id }}";
const bot_client_id = "{{ client_id }}";
const visitors_enabled = {% if visitors_enabled %}true{% else %}false{% endif %};
const unauth_captcha_enabled = {% if unauth_captcha_enabled %}true{% else %}false{% endif %}
const unauth_captcha_enabled = {% if unauth_captcha_enabled %}true{% else %}false{% endif %};
</script>
<script type="text/javascript" src="{{ url_for('static', filename='js/embed.js') }}"></script>