diff --git a/src/script/component/User.vue b/src/script/component/User.vue index 263015f..0ff30a4 100644 --- a/src/script/component/User.vue +++ b/src/script/component/User.vue @@ -26,13 +26,13 @@ i.fa.fa-fw.fa-ban | Ban User .separator - .action(v-if='!activated' v-on:click='$parent.$emit("activation", id)') + .action(v-if='!activated' v-on:click='activationToken') i.fa.fa-fw.fa-envelope | Activation Email - .action(v-if="totp_enabled" v-on:click='$parent.$emit("totp-revoke", id)') + .action(v-if="totp_enabled" v-on:click='totpRevoke') i.fa.fa-fw.fa-shield | Revoke 2FA - .action(v-on:click='$parent.$emit("reset-password", id)') + .action(v-on:click='resetPassword') i.fa.fa-fw.fa-envelope | Password Email @@ -54,6 +54,7 @@