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
|
{{ i18n.ts.sendModMail }}</FormButton
|
||||||
>
|
>
|
||||||
<FormButton
|
<FormButton
|
||||||
v-if="$i.isAdmin"
|
v-if="user.host == null && $i.isAdmin"
|
||||||
inline
|
inline
|
||||||
danger
|
danger
|
||||||
@click="delete2fa"
|
@click="delete2fa"
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
{{ i18n.ts.delete2fa }}</FormButton
|
{{ i18n.ts.delete2fa }}</FormButton
|
||||||
>
|
>
|
||||||
<FormButton
|
<FormButton
|
||||||
v-if="$i.isAdmin"
|
v-if="user.host == null && $i.isAdmin"
|
||||||
inline
|
inline
|
||||||
danger
|
danger
|
||||||
@click="deletePasskeys"
|
@click="deletePasskeys"
|
||||||
|
|
Loading…
Reference in a new issue