mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Hide security key section if TOTP is disabled
This should prevent some unintended behavior (and 500 errors) for now.
This commit is contained in:
parent
5e2adc9ad8
commit
a974ce73ce
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user