Browse Source

fix: clear new password in admin user edit

NGPixel 5 years ago
parent
commit
4e9d4071fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/components/admin/admin-users-edit.vue

+ 1 - 0
client/components/admin/admin-users-edit.vue

@@ -793,6 +793,7 @@ export default {
           timezone: this.user.timezone
           timezone: this.user.timezone
         }
         }
       })
       })
+      this.newPassword = ''
       if (_.get(resp, 'data.users.update.responseResult.succeeded', false)) {
       if (_.get(resp, 'data.users.update.responseResult.succeeded', false)) {
         this.$store.commit('showNotification', {
         this.$store.commit('showNotification', {
           style: 'success',
           style: 'success',