From 734e4684f7c6cc916e7231da2f344083adf01329 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 14 Sep 2021 19:42:04 +0200 Subject: [PATCH] Empty old & new passwords fields when successful change Signed-off-by: Thomas Citharel --- js/src/views/Settings/AccountSettings.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/views/Settings/AccountSettings.vue b/js/src/views/Settings/AccountSettings.vue index 9c5a9e03f..4063081e3 100644 --- a/js/src/views/Settings/AccountSettings.vue +++ b/js/src/views/Settings/AccountSettings.vue @@ -320,6 +320,8 @@ export default class AccountSettings extends Vue { }, }); + this.oldPassword = ""; + this.newPassword = ""; this.$notifier.success( this.$t("The password was successfully changed") as string );