Skip to content

Commit

Permalink
hotfix: delete password clearing[WTEL-4562]
Browse files Browse the repository at this point in the history
  • Loading branch information
Lera24 committed May 21, 2024
1 parent 986349b commit 7d6bd85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions src/components/auth/login/the-login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: '' });
}
Expand Down
9 changes: 0 additions & 9 deletions src/components/auth/register/the-register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7d6bd85

Please sign in to comment.