diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/profile-editor.vue | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue index fc0fbb9e65..62d5d7a29c 100644 --- a/src/client/app/common/views/components/profile-editor.vue +++ b/src/client/app/common/views/components/profile-editor.vue @@ -218,8 +218,14 @@ export default Vue.extend({ }, updateEmail() { - this.$root.api('i/update_email', { - email: this.email == '' ? null : this.email + this.$input({ + title: this.$t('@.enter-password'), + type: 'password' + }).then(password => { + this.$root.api('i/update_email', { + password: password, + email: this.email == '' ? null : this.email + }); }); } } |