Empty old & new passwords fields when successful change

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-09-14 19:42:04 +02:00
parent 75e254d8b4
commit 734e4684f7
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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
);