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 }} {{ i18n.ts._2fa.securityKeyNotSupported }}
</MkInfo> </MkInfo>
<MkInfo
v-else-if="supportsCredentials && !$i.twoFactorEnabled"
warn
>
{{ i18n.ts._2fa.registerTOTPBeforeKey }}
</MkInfo>
<template v-else> <template v-else>
<MkButton primary @click="addSecurityKey" <MkButton primary @click="addSecurityKey"
><i ><i