diff --git a/Cargo.lock b/Cargo.lock index 11eac56e..6c2cb9f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7539,9 +7539,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa 1.0.11", "memchr", diff --git a/apps/frontend/nuxt.config.ts b/apps/frontend/nuxt.config.ts index 4ca7a428..8e442fef 100644 --- a/apps/frontend/nuxt.config.ts +++ b/apps/frontend/nuxt.config.ts @@ -343,8 +343,6 @@ export default defineNuxtConfig({ globalThis.CF_PAGES_COMMIT_SHA || "unknown", - turnstile: { siteKey: "0x4AAAAAAAW3guHM6Eunbgwu" }, - stripePublishableKey: process.env.STRIPE_PUBLISHABLE_KEY || globalThis.STRIPE_PUBLISHABLE_KEY || @@ -362,7 +360,7 @@ export default defineNuxtConfig({ }, }, }, - modules: ["@vintl/nuxt", "@nuxtjs/turnstile", "@pinia/nuxt"], + modules: ["@vintl/nuxt", "@pinia/nuxt"], vintl: { defaultLocale: "en-US", locales: [ diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 3a13549f..8311f368 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -15,7 +15,6 @@ "devDependencies": { "@formatjs/cli": "^6.2.12", "@nuxt/devtools": "^1.3.3", - "@nuxtjs/turnstile": "^0.8.0", "@types/dompurify": "^3.0.5", "@types/node": "^20.1.0", "@vintl/compact-number": "^2.0.5", diff --git a/apps/frontend/src/components/ui/HCaptcha.vue b/apps/frontend/src/components/ui/HCaptcha.vue new file mode 100644 index 00000000..3421afa0 --- /dev/null +++ b/apps/frontend/src/components/ui/HCaptcha.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/apps/frontend/src/pages/auth.vue b/apps/frontend/src/pages/auth.vue index b55f54f9..51392b24 100644 --- a/apps/frontend/src/pages/auth.vue +++ b/apps/frontend/src/pages/auth.vue @@ -60,20 +60,6 @@ } } -.turnstile { - display: flex; - justify-content: center; - overflow: hidden; - border-radius: var(--radius-md); - border: 2px solid var(--color-button-bg); - height: 66px; - - iframe { - margin: -1px; - min-width: calc(100% + 2px); - } -} - .auth-form { display: flex; flex-direction: column; diff --git a/apps/frontend/src/pages/auth/reset-password.vue b/apps/frontend/src/pages/auth/reset-password.vue index 074acb0f..ad002a07 100644 --- a/apps/frontend/src/pages/auth/reset-password.vue +++ b/apps/frontend/src/pages/auth/reset-password.vue @@ -22,12 +22,7 @@ /> - +