1
0
Fork 1
mirror of https://example.com synced 2024-11-22 07:06:38 +09:00

feat(frontend): enable using security keys without 2fa

This commit is contained in:
TrojanerHD 2024-02-24 02:19:19 +01:00 committed by naskya
parent 78af158c30
commit 2c78c01d57
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -59,13 +59,6 @@
{{ i18n.ts._2fa.securityKeyNotSupported }}
</MkInfo>
<MkInfo
v-else-if="supportsCredentials && !$i.twoFactorEnabled"
warn
>
{{ i18n.ts._2fa.registerTOTPBeforeKey }}
</MkInfo>
<template v-else>
<MkButton primary @click="addSecurityKey"
><i