Add Cloudflare Turnstile for login/signup

This commit is contained in:
Jared Schoeny
2025-12-13 16:32:32 -10:00
parent c36b7c81df
commit 3becfbd1ad
6 changed files with 150 additions and 4 deletions

28
package-lock.json generated
View File

@@ -22,6 +22,7 @@
"mdast-util-to-hast": "^13.2.1",
"minio": "^8.0.6",
"next": "^15.5.8",
"next-turnstile": "^1.0.7",
"nodemailer": "^7.0.11",
"react": "^19.1.2",
"react-chartjs-2": "^5.3.1",
@@ -32,7 +33,8 @@
"remark-gfm": "4.0.0",
"rom-patcher-js": "github:Hackdex-App/RomPatcher.js",
"schema-dts": "^1.1.5",
"serialize-javascript": "^7.0.0"
"serialize-javascript": "^7.0.0",
"uuid": "^13.0.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
@@ -5932,6 +5934,17 @@
}
}
},
"node_modules/next-turnstile": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/next-turnstile/-/next-turnstile-1.0.7.tgz",
"integrity": "sha512-hN0fr5fwOiK0o8draaJmcYElDqsiYBd4OOCy+0IKMlJgjpPzxtoyagojPBoHsyw9i3jVoBpusPZcUMuKuKQsNw==",
"license": "MIT",
"peerDependencies": {
"next": ">=12",
"react": ">=16",
"react-dom": ">=16"
}
},
"node_modules/next/node_modules/postcss": {
"version": "8.4.31",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
@@ -7164,6 +7177,19 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"license": "MIT"
},
"node_modules/uuid": {
"version": "13.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",
"integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"license": "MIT",
"bin": {
"uuid": "dist-node/bin/uuid"
}
},
"node_modules/vfile": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",