Replace hcaptcha by altcha
This commit is contained in:
parent
43d8ce7a49
commit
d1a20d0baa
5 changed files with 12 additions and 7 deletions
|
|
@ -39,10 +39,11 @@
|
|||
placeholder="j.postel@isi.edu"
|
||||
class="form-control my-3"
|
||||
/>
|
||||
<div
|
||||
class="my-2 mx-auto h-captcha"
|
||||
data-sitekey="12a1e811-7f34-44ca-9e7c-fb1e9ade6b00"
|
||||
></div>
|
||||
<altcha-widget
|
||||
floating
|
||||
class="my-2 mx-auto"
|
||||
challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"
|
||||
></altcha-widget>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-lg btn-primary py-2"
|
||||
|
|
|
|||
|
|
@ -172,6 +172,10 @@
|
|||
placeholder="j.postel@isi.edu"
|
||||
class="form-control"
|
||||
/>
|
||||
<altcha-widget
|
||||
floating
|
||||
challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"
|
||||
></altcha-widget>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-primary text-nowrap"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script src="/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
||||
<script src="https://lists.happydomain.org/public/static/altcha.umd.js" async defer></script>
|
||||
<script>
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', function(e) {
|
||||
document.documentElement.setAttribute('data-bs-theme', e.matches ? 'dark' : 'light');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue