forked from enviPath/enviPy
[Feature] Add Captchas to avoid spam registrations (#358)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#358
This commit is contained in:
@ -218,6 +218,10 @@
|
||||
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
|
||||
<cap-widget
|
||||
data-cap-api-endpoint="{{ CAP_API_BASE }}/{{ CAP_SITE_KEY }}/"
|
||||
></cap-widget>
|
||||
|
||||
<!-- ToS and Academic Use Notice -->
|
||||
<div class="text-xs text-base-content/70 mt-2">
|
||||
<p>
|
||||
@ -233,7 +237,6 @@
|
||||
enviPath is free for academic and non-commercial use only.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<button type="submit" name="confirmsignup" class="btn btn-success w-full">
|
||||
Sign Up
|
||||
</button>
|
||||
|
||||
@ -19,6 +19,11 @@
|
||||
type="text/css"
|
||||
/>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@cap.js/widget@0.1.41/cap.min.js"></script>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/@cap.js/widget@0.1.41/src/cap.min.css"
|
||||
/>
|
||||
{% block extra_styles %}{% endblock %}
|
||||
</head>
|
||||
<body class="bg-base-100">
|
||||
|
||||
Reference in New Issue
Block a user