From 055efdf4a101b4c17f2a16f483a92202a77246bd Mon Sep 17 00:00:00 2001 From: Prospector Date: Thu, 11 Apr 2024 00:10:39 -0700 Subject: [PATCH] Change to non-interactive turnstile --- nuxt.config.ts | 2 +- pages/auth.vue | 12 +++++++++++- pages/auth/reset-password.vue | 10 ++++++++-- pages/auth/sign-in.vue | 13 +++++++++++-- pages/auth/sign-up.vue | 15 ++++++++++++--- 5 files changed, 43 insertions(+), 9 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 25613149ba..6128e42f96 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -366,7 +366,7 @@ export default defineNuxtConfig({ }, }, turnstile: { - siteKey: '0x4AAAAAAAHWfmKCm7cUG869', + siteKey: '0x4AAAAAAAW3guHM6Eunbgwu', }, nitro: { moduleSideEffects: ['@vintl/compact-number/locale-data'], diff --git a/pages/auth.vue b/pages/auth.vue index b95f4452c6..b55f54f91c 100644 --- a/pages/auth.vue +++ b/pages/auth.vue @@ -61,7 +61,17 @@ } .turnstile { - display: none; + 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 { diff --git a/pages/auth/reset-password.vue b/pages/auth/reset-password.vue index 68647bd508..c878a5fb23 100644 --- a/pages/auth/reset-password.vue +++ b/pages/auth/reset-password.vue @@ -5,7 +5,6 @@ diff --git a/pages/auth/sign-in.vue b/pages/auth/sign-in.vue index f1609b7ddb..3b76476ed5 100644 --- a/pages/auth/sign-in.vue +++ b/pages/auth/sign-in.vue @@ -81,9 +81,18 @@ /> - + - diff --git a/pages/auth/sign-up.vue b/pages/auth/sign-up.vue index f27d96ec7e..4640a3b624 100644 --- a/pages/auth/sign-up.vue +++ b/pages/auth/sign-up.vue @@ -84,8 +84,6 @@ /> - -