diff --git a/src/components/auth/login/the-login.vue b/src/components/auth/login/the-login.vue index 23425975..03f59caa 100644 --- a/src/components/auth/login/the-login.vue +++ b/src/components/auth/login/the-login.vue @@ -91,10 +91,6 @@ export default { this.activeStep = this.activeStep - 1; } - if (this.activeStep === 2) { - this.setProp({ prop: 'password', value: '' }); - } - if (this.activeStep === 3) { this.setProp({ prop: 'totp', value: '' }); } diff --git a/src/components/auth/register/the-register.vue b/src/components/auth/register/the-register.vue index 2b628a28..993b0aba 100644 --- a/src/components/auth/register/the-register.vue +++ b/src/components/auth/register/the-register.vue @@ -78,21 +78,12 @@ export default { resetState: 'RESET_STATE', }), - clearPassword() { - this.setProp({ prop: 'password', value: '' }); - this.setProp({ prop: 'confirmPassword', value: '' }); - }, - backPrevStep() { if (this.activeStep === 1) { this.$emit('change-tab', { value: 'login' }); } else { this.activeStep = this.activeStep - 1; } - - if (this.activeStep === 2) { - this.clearPassword(); - } }, async goNextStep() {