Merge pull request 'fix: refs #8247 allow password change for users themselves in AccountDescriptorMenu' (!1401) from 8247-hotfix-showOpt into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1401
Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
Jorge Penadés 2025-02-14 13:37:19 +00:00
commit 63659a1a77
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ onMounted(() => {
>
<QItemSection>{{ t('globals.delete') }}</QItemSection>
</QItem>
<QItem v-if="hasSysadminAccess" v-ripple clickable>
<QItem v-if="hasSysadminAccess || isHimself" v-ripple clickable>
<QItemSection @click="onChangePass(isHimself)">
{{ isHimself ? t('globals.changePass') : t('globals.setPass') }}
</QItemSection>