fix: 🐛 hide delete 2fa/passkeys buttons if user is not local

This commit is contained in:
ThatOneCalculator 2023-07-29 22:12:03 -07:00
parent b8ebc8324e
commit 59a625469f
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -219,7 +219,7 @@
{{ i18n.ts.sendModMail }}</FormButton
>
<FormButton
v-if="$i.isAdmin"
v-if="user.host == null && $i.isAdmin"
inline
danger
@click="delete2fa"
@ -227,7 +227,7 @@
{{ i18n.ts.delete2fa }}</FormButton
>
<FormButton
v-if="$i.isAdmin"
v-if="user.host == null && $i.isAdmin"
inline
danger
@click="deletePasskeys"