1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00: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

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 &&