@annalib/anna-cognito-lib 2.2.22 → 2.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -344,7 +344,10 @@ class AnnaLibAuthService {
|
|
|
344
344
|
break;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
catch (error) {
|
|
347
|
+
catch (error) {
|
|
348
|
+
this.noOfAttempts = this.noOfAttempts + 1;
|
|
349
|
+
this.verifyAndSetNewPasswordErrorMessage = this.forgotPasswordError(error, this.noOfAttempts);
|
|
350
|
+
}
|
|
348
351
|
}
|
|
349
352
|
async onCallGlobalSignout() {
|
|
350
353
|
try {
|