Browse Source

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

* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
pull/1207/head
Vincent Salucci 4 years ago committed by GitHub
parent
commit
ce3311a0dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/app/vault/vault.component.ts

4
src/app/vault/vault.component.ts

@ -84,10 +84,6 @@ export class VaultComponent implements OnInit, OnDestroy { @@ -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 &&

Loading…
Cancel
Save