mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-16 18:01:28 +00:00
reset form after successful pw change
This commit is contained in:
parent
0f2c0f7efe
commit
f6b25fd8f2
@ -105,6 +105,11 @@ export default {
|
||||
this.$toast.success(
|
||||
this.$t('settings.security.change-password.success')
|
||||
)
|
||||
this.formData = {
|
||||
oldPassword: '',
|
||||
newPassword: '',
|
||||
confirmPassword: ''
|
||||
}
|
||||
} catch (err) {
|
||||
this.$toast.error(err.message)
|
||||
} finally {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user