mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
Vault timeout policy won't let you change timeout time if vault timeout action set. (#15520)
Angular `FormGroup` does not return disabled fields via `.value` property, need to use `getRawValue()` function instead.
This commit is contained in:
@@ -449,7 +449,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
||||
await this.vaultTimeoutSettingsService.setVaultTimeoutOptions(
|
||||
activeAccount.id,
|
||||
newValue,
|
||||
this.form.value.vaultTimeoutAction,
|
||||
this.form.getRawValue().vaultTimeoutAction,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user