mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix(passkey): 加强无OTP注册PassKey的逻辑判断
This commit is contained in:
@@ -47,7 +47,7 @@ const passkeyName = ref('')
|
|||||||
// PassKey challenge
|
// PassKey challenge
|
||||||
const passkeyChallenge = ref('')
|
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)
|
const canRegisterPasskey = computed(() => props.isOtp || allowPasskeyWithoutOtp.value)
|
||||||
|
|
||||||
// 格式化日期
|
// 格式化日期
|
||||||
|
|||||||
Reference in New Issue
Block a user