Skip to content

fix(web): require CF_TURNSTILE_SECRET for the human check - #257

Closed
Abu0001-b wants to merge 1 commit into
vouchlabsio:mainfrom
Abu0001-b:hv/fix-108
Closed

Abu0001-b wants to merge 1 commit into
vouchlabsio:mainfrom
Abu0001-b:hv/fix-108

Conversation

@Abu0001-b

Copy link
Copy Markdown

Read the Cloudflare Turnstile secret from process.env.CF_TURNSTILE_SECRET and fail closed (503) when it is unset instead of falling back to the always-passing public test secret. Move the public sitekey into runtimeConfig.public alongside the other public values and read it from there in app.vue.

Fixes #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty: $85] Make circom-to-soroban-hex parse a BLS12-381 verifying key

1 participant