Skip to content
Snippets Groups Projects
Commit 1bec25e8 authored by syuilo's avatar syuilo
Browse files

パスワードリセットしても新しいパスワードが表示されない問題を修正

parent f220e418
No related branches found
No related tags found
No related merge requests found
......@@ -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 })
});
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment