mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: update Turnstile configuration and improve layout for verification
This commit is contained in:
@@ -86,7 +86,9 @@
|
|||||||
) {
|
) {
|
||||||
window.turnstile.render('.cf-turnstile', {
|
window.turnstile.render('.cf-turnstile', {
|
||||||
sitekey: data.auth.cf_turnstile_site_key,
|
sitekey: data.auth.cf_turnstile_site_key,
|
||||||
theme: 'dark'
|
theme: 'dark',
|
||||||
|
size: 'flexible',
|
||||||
|
appearence: 'interaction-only'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -463,11 +465,7 @@
|
|||||||
</label>
|
</label>
|
||||||
{/if}
|
{/if}
|
||||||
{#if data.options?.requiresVerification && data.auth?.cf_turnstile_site_key}
|
{#if data.options?.requiresVerification && data.auth?.cf_turnstile_site_key}
|
||||||
<div
|
<div class="cf-turnstile mb-1 w-full" data-sitekey={data.auth.cf_turnstile_site_key}></div>
|
||||||
class="mb-2 flex min-h-16.25 w-auto items-center justify-center rounded border border-neutral-700 bg-neutral-800 p-2 pb-1"
|
|
||||||
>
|
|
||||||
<div class="cf-turnstile" data-sitekey={data.auth.cf_turnstile_site_key}></div>
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user