feat: Add native Django ALTCHA challenge generation and server-side HMAC validation endpoint

This commit is contained in:
Richard
2026-07-31 11:42:07 +02:00
parent 83c782c469
commit b7a5158254
7 changed files with 63 additions and 5 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<title>Schichtplaner — Veranstaltungsschichtpläne</title>
<script type="module" crossorigin src="/assets/index-CeGSMgG7.js"></script>
<script type="module" crossorigin src="/assets/index-CZ_SegKh.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DXNVMwNg.css">
</head>
<body class="bg-paper text-main font-sans antialiased min-h-screen">
+1 -1
View File
@@ -154,7 +154,7 @@ export default function GuestSignupModal({ shift, onClose, onSubmit }) {
<div className="border border-slate-700 rounded-lg p-3 bg-slate-950/80 flex flex-col items-center justify-center min-h-[90px]">
<altcha-widget
ref={captchaRef}
test="true"
challengeurl="/api/events/altcha-challenge/"
auto="onload"
hidefooter="true"
style={{ width: '100%' }}