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
3ac0946019
commit
af3f36f063
|
@ -10,7 +10,7 @@
|
||||||
<MkButton @click="unregister">{{ i18n.ts.unregister }}</MkButton>
|
<MkButton @click="unregister">{{ i18n.ts.unregister }}</MkButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="supportsCredentials">
|
<template v-if="supportsCredentials && $i.twoFactorEnabled">
|
||||||
<hr class="totp-method-sep" />
|
<hr class="totp-method-sep" />
|
||||||
|
|
||||||
<h2 class="heading">{{ i18n.ts.securityKey }}</h2>
|
<h2 class="heading">{{ i18n.ts.securityKey }}</h2>
|
||||||
|
|
Loading…
Reference in New Issue