From 7d6bd8504c299ea3b41b0816c74c9fc9d8849d19 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Tue, 21 May 2024 14:44:23 +0300 Subject: [PATCH] hotfix: delete password clearing[WTEL-4562] --- src/components/auth/login/the-login.vue | 4 ---- src/components/auth/register/the-register.vue | 9 --------- 2 files changed, 13 deletions(-) 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() {