mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
PM-9906 - Web Preferences Component - Fix issue where having a vault timeout policy would prevent users from updating their preferences. (#10554)
This commit is contained in:
parent
9152c3203f
commit
c3e1b09643
@ -167,7 +167,10 @@ export class PreferencesComponent implements OnInit, OnDestroy {
|
||||
);
|
||||
return;
|
||||
}
|
||||
const values = this.form.value;
|
||||
|
||||
// must get raw value b/c the vault timeout action is disabled when a policy is applied
|
||||
// which removes the timeout action property and value from the normal form.value.
|
||||
const values = this.form.getRawValue();
|
||||
|
||||
const activeAcct = await firstValueFrom(this.accountService.activeAccount$);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user