mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
[CU-8689k2b8c] Migrates google recaptcha to cloudflare turnstile (#1353)
* Migrates google recaptcha to cloudflare turnstile * Includes example env vars * Fixes turnstile when purchasing buzz * Applies code review feedback * Removes console.log
This commit is contained in:
committed by
GitHub
parent
8ac9ddf2bb
commit
4ea8bcd34a
@@ -165,6 +165,11 @@ PADDLE_SECRET_KEY=
|
||||
PADDLE_WEBHOOK_SECRET=
|
||||
NEXT_PUBLIC_PADDLE_TOKEN=
|
||||
NEXT_PUBLIC_DEFAULT_PAYMENT_PROVIDER= # Paddle OR Stripe. Defaults to Stripe if Paddle env. variables are missing.
|
||||
|
||||
# Fingerprint
|
||||
FINGERPRINT_SECRET=61952c5f9c9f1938abcf288bff56021a927a0a829f2e839a7a9fe219c83dca0c # 32 bytes
|
||||
FINGERPRINT_IV=b5f09724c7567e53d47d0a26bfa263e4 # 16 bytes
|
||||
|
||||
# CF Turnstile
|
||||
NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITEKEY=1x00000000000000000000BB
|
||||
CLOUDFLARE_TURNSTILE_SECRET=1x0000000000000000000000000000000AA
|
||||
|
||||
Reference in New Issue
Block a user