Files
ipal-kit/dist/globals/SiteIntegrations/fields/turnstile.js
T
2026-08-03 12:24:28 +02:00

25 lines
725 B
JavaScript

/**
* Cloudflare Turnstile credentials.
*
* siteKey is public (rendered in the widget); secretKey is used for
* server-side verification. Both are protected at the global level
* (SiteIntegrations requires an authenticated user) rather than per-field,
* so they remain editable in the admin panel.
*/ export const turnstileFields = [
{
name: 'turnstileSiteKey',
type: 'text',
admin: {
description: 'Public site key rendered in the Turnstile widget.'
}
},
{
name: 'turnstileSecretKey',
type: 'text',
admin: {
description: 'Secret key used for server-side verification.'
}
}
];
//# sourceMappingURL=turnstile.js.map