From c1d759f3f379c2320a92fec9c991aa448565752c Mon Sep 17 00:00:00 2001 From: PKC278 <52959804+PKC278@users.noreply.github.com> Date: Tue, 20 Jan 2026 19:37:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(passkey):=20=E5=8A=A0=E5=BC=BA=E6=97=A0OTP?= =?UTF-8?q?=E6=B3=A8=E5=86=8CPassKey=E7=9A=84=E9=80=BB=E8=BE=91=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/PasskeyDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dialog/PasskeyDialog.vue b/src/components/dialog/PasskeyDialog.vue index 756d9bc5..f087313e 100644 --- a/src/components/dialog/PasskeyDialog.vue +++ b/src/components/dialog/PasskeyDialog.vue @@ -47,7 +47,7 @@ const passkeyName = ref('') // PassKey challenge const passkeyChallenge = ref('') -const allowPasskeyWithoutOtp = computed(() => !!globalSettingsStore.get('PASSKEY_ALLOW_REGISTER_WITHOUT_OTP')) +const allowPasskeyWithoutOtp = computed(() => globalSettingsStore.get('PASSKEY_ALLOW_REGISTER_WITHOUT_OTP') === true) const canRegisterPasskey = computed(() => props.isOtp || allowPasskeyWithoutOtp.value) // 格式化日期