feat(password-recovery): Change when secret question answer is wrong, go back to secret question instead of login

This commit is contained in:
smizrahi committed 2022-11-22 17:31:59 +01:00
1 parent c62b043e26
commit 58540f15e2
3 files changed
+10 -5

No files matched your search

+8 -3
View File
@@ -152,9 +152,14 @@
};
this.restoreLogin = function() {
vm.loginState = false;
delete vm.creds.verificationCode;
vm.passwordRecoveryAbort();
vm.showLogin = false;
if ('SecretQuestion' === vm.passwordRecovery.passwordRecoveryMode) {
rippleDo('loginContent');
vm.passwordRecoveryInfo();
} else {
delete vm.creds.verificationCode;
vm.passwordRecoveryAbort();
}
};
this.continueLogin = function() {