1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00

[Reset Password v1] Refactor ForcePasswordReset flow (#1188)

* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
This commit is contained in:
Vincent Salucci 2021-09-24 08:33:45 -05:00 committed by GitHub
parent 15ea87d6b6
commit ce3311a0dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,10 +84,6 @@ export class VaultComponent implements OnInit, OnDestroy {
const queryParamsSub = this.route.queryParams.subscribe(async params => {
await this.syncService.fullSync(false);
if (await this.userService.getForcePasswordReset()) {
this.router.navigate(['update-temp-password']);
}
this.showUpdateKey = !(await this.cryptoService.hasEncKey());
const canAccessPremium = await this.userService.canAccessPremium();
this.showPremiumCallout = !this.showVerifyEmail && !canAccessPremium &&