mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Add recaptcha v2 to verify guest logins (#55)
This commit is contained in:
committed by
GitHub
parent
f6b354f10d
commit
392c7ae69e
@ -18,6 +18,7 @@
|
||||
|
||||
<title>{{ guild['name'] }} - Embed - Titan Embeds for Discord</title>
|
||||
{% include 'google_analytics.html.j2' %}
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
|
||||
<style id="user-defined-css">
|
||||
{% if css is not none %}
|
||||
@ -145,6 +146,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="recaptchamodal" class="modal">
|
||||
<div class="modal-content">
|
||||
<h4 class="center-align">Just one more step...</h4>
|
||||
<div id="google-recaptcha" class="g-recaptcha" data-sitekey="{{ recaptcha_site_key }}" data-callback="submit_unauthenticated_captcha"></div>
|
||||
<input type="hidden" id="submit-unauthenticated-captcha-btn" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="emoji-picker">
|
||||
<div id="emoji-picker-content">
|
||||
<div class="row">
|
||||
|
Reference in New Issue
Block a user