Change to non-interactive turnstile (#1678)

This commit is contained in:
Prospector
2024-04-18 16:36:26 -07:00
committed by GitHub
parent 6808d270a7
commit 5a166d2455
5 changed files with 43 additions and 9 deletions
+11 -2
View File
@@ -81,9 +81,18 @@
/>
</div>
<NuxtTurnstile ref="turnstile" v-model="token" class="turnstile" />
<NuxtTurnstile
ref="turnstile"
v-model="token"
class="turnstile"
:options="{ theme: $colorMode.value === 'light' ? 'light' : 'dark' }"
/>
<button class="btn btn-primary continue-btn centered-btn" @click="beginPasswordSignIn()">
<button
class="btn btn-primary continue-btn centered-btn"
:disabled="!token"
@click="beginPasswordSignIn()"
>
{{ formatMessage(commonMessages.signInButton) }} <RightArrowIcon />
</button>