diff --git a/app/components/CaptchaWidget.vue b/app/components/CaptchaWidget.vue index ce33af5..3aab25c 100644 --- a/app/components/CaptchaWidget.vue +++ b/app/components/CaptchaWidget.vue @@ -3,7 +3,7 @@
- +
@@ -11,9 +11,10 @@ v-if="!!apiKey" :sitekey="apiKey" @verify="(tk: string) => handleSuccess(tk)" - /> + > +
- +
- + Captcha provider not configured correctly.
@@ -32,6 +33,7 @@ import { ref, onMounted } from "vue" import Turnstile from "cfturnstile-vue3" import Hcaptcha from "@hcaptcha/vue3-hcaptcha" +import { AlertTriangleIcon } from "lucide-vue-next" const props = defineProps({ provider: { diff --git a/app/pages/auth/callback/[provider].vue b/app/pages/auth/callback/[provider].vue index a8f0b50..fd3adf8 100644 --- a/app/pages/auth/callback/[provider].vue +++ b/app/pages/auth/callback/[provider].vue @@ -28,6 +28,6 @@ definePageMeta({ onMounted(() => { const redirectUrl = `${apiBase}/id/auth/callback/${provider}${window.location.search}` - // window.location.href = redirectUrl + window.location.href = redirectUrl }) diff --git a/app/pages/auth/captcha.vue b/app/pages/auth/captcha.vue index b599d31..04b947d 100644 --- a/app/pages/auth/captcha.vue +++ b/app/pages/auth/captcha.vue @@ -1,32 +1,27 @@