Merge pull request 'Hide security key section if TOTP is disabled' (#10192) from esm/calckey:hide-fido2 into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10192
This commit is contained in:
Kainoa Kanter 2023-05-24 19:48:15 +00:00
commit cfd9dca7de

View file

@ -10,7 +10,7 @@
<MkButton @click="unregister">{{ i18n.ts.unregister }}</MkButton>
</template>
<template v-if="supportsCredentials">
<template v-if="supportsCredentials && $i.twoFactorEnabled">
<hr class="totp-method-sep" />
<h2 class="heading">{{ i18n.ts.securityKey }}</h2>