mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-03 01:09:01 +09:00
パスワードリセットしても新しいパスワードが表示されない問題を修正
This commit is contained in:
parent
f220e4183f
commit
1bec25e8e6
@ -167,13 +167,13 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
async resetPassword() {
|
||||
os.apiWithDialog('admin/reset-password', {
|
||||
const { password } = await os.api('admin/reset-password', {
|
||||
userId: this.user.id,
|
||||
}, undefined, ({ password }) => {
|
||||
os.dialog({
|
||||
type: 'success',
|
||||
text: this.$t('newPasswordIs', { password })
|
||||
});
|
||||
});
|
||||
|
||||
os.dialog({
|
||||
type: 'success',
|
||||
text: this.$t('newPasswordIs', { password })
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user