mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
[Reset Password v1] Refactor ForcePasswordReset flow (#1188)
* [Reset Password v1] Refactor ForcePasswordReset flow * Update jslib
This commit is contained in:
parent
15ea87d6b6
commit
ce3311a0dc
@ -84,10 +84,6 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
const queryParamsSub = this.route.queryParams.subscribe(async params => {
|
const queryParamsSub = this.route.queryParams.subscribe(async params => {
|
||||||
await this.syncService.fullSync(false);
|
await this.syncService.fullSync(false);
|
||||||
|
|
||||||
if (await this.userService.getForcePasswordReset()) {
|
|
||||||
this.router.navigate(['update-temp-password']);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.showUpdateKey = !(await this.cryptoService.hasEncKey());
|
this.showUpdateKey = !(await this.cryptoService.hasEncKey());
|
||||||
const canAccessPremium = await this.userService.canAccessPremium();
|
const canAccessPremium = await this.userService.canAccessPremium();
|
||||||
this.showPremiumCallout = !this.showVerifyEmail && !canAccessPremium &&
|
this.showPremiumCallout = !this.showVerifyEmail && !canAccessPremium &&
|
||||||
|
Loading…
Reference in New Issue
Block a user