Update SettingsSecurity.vue

This commit is contained in:
Troplo 2021-04-11 21:55:18 +10:00
parent 098459c95d
commit 6486cc0f11

View file

@ -5,13 +5,13 @@
<hr>
<div class="subtitle">{{$t('settings.security.password.title')}}</div>
<b-field :label="$t('settings.security.password.oldPassword')">
<b-input v-model="password.oldPassword" :placeholder="$t('settings.security.password.oldPassword')"></b-input>
<b-input type="password" v-model="password.oldPassword" :placeholder="$t('settings.security.password.oldPassword')"></b-input>
</b-field>
<b-field :label="$t('settings.security.password.newPassword')">
<b-input v-model="password.newPassword" :placeholder="$t('settings.security.password.newPassword')"></b-input>
<b-input type="password" minlength="6" maxlength="50" v-model="password.newPassword" :placeholder="$t('settings.security.password.newPassword')"></b-input>
</b-field>
<b-field :label="$t('settings.security.password.newPasswordConfirm')">
<b-input v-model="password.newPasswordConfirm" :placeholder="$t('settings.security.password.newPasswordConfirm')"></b-input>
<b-input type="password" minlength="6" maxlength="50" v-model="password.newPasswordConfirm" :placeholder="$t('settings.security.password.newPasswordConfirm')"></b-input>
</b-field>
<b-button :loading="password.loading" class="is-danger" @click="changePassword">{{$t('settings.security.password.change')}}</b-button>
</div>