fix: 🐛 hide delete 2fa/passkeys buttons if user is not local
This commit is contained in:
parent
b8ebc8324e
commit
59a625469f
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue