1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

[AuthService refactor] Don't clear state if 2FA is invalid (#690)

* Don't clear state if 2FA is invalid

* Add session timeout to 2FA

* Clear internal authService state if unhandled error
This commit is contained in:
Thomas Rittson
2022-02-24 13:08:43 +10:00
committed by GitHub
parent fdaa4f9fa5
commit 1cbc119ad8
2 changed files with 38 additions and 4 deletions

View File

@@ -119,6 +119,7 @@ import { ValidationService } from "./validation.service";
EnvironmentServiceAbstraction,
StateServiceAbstraction,
TwoFactorServiceAbstraction,
I18nServiceAbstraction,
],
},
{