Skip to content

Commit

Permalink
Unable to reset password of admin user
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Jan 24, 2023
1 parent 1289850 commit ea8b838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/app/admin/views/users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div ref="user" class="user" v-if="user" :key="user.id">
<x-user :user="user"/>
<div class="actions">
<ui-button @click="resetPassword"><fa :icon="faKey"/> {{ $t('reset-password') }}</ui-button>
<ui-button @click="resetPassword" :disabled="user.isAdmin"><fa :icon="faKey"/> {{ $t('reset-password') }}</ui-button>
<ui-horizon-group>
<ui-button v-if="!user.isVerified" @click="verifyUser" :disabled="verifying"><fa :icon="faCertificate"/> {{ $t('verify') }}</ui-button>
<ui-button v-if="user.isVerified" @click="unverifyUser" :disabled="unverifying">{{ $t('unverify') }}</ui-button>
Expand Down

0 comments on commit ea8b838

Please sign in to comment.