-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AUT-1432: Fix secret key display in error state and tests
This fixes a bug reported by QA where authenticator app secret keys were not displayed following a validation error. The fix ensures the secret will display both: - where the code format is invalid and therefore fails the validation rules as set in setup-authenticator-app-validation.ts - where the code is incorrect, as demonstrated by the verifyMfaCode service not returning a success The related integration tests have also been updated to prevent passing where the code is not included (the previous non-empty test would always pass because the text included whitespace and line breaks)
- Loading branch information
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters