From fdaf7438683d3d3dd98372fac515dc495b515f09 Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Mon, 15 May 2023 15:28:18 +0200 Subject: [PATCH] PM-2249 Fix vault timeout action policy check (#2521) --- src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs b/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs index 99e509373..6767db611 100644 --- a/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs +++ b/src/App/Pages/Settings/SettingsPage/SettingsPageViewModel.cs @@ -382,7 +382,7 @@ namespace Bit.App.Pages public async Task VaultTimeoutActionAsync() { if (_vaultTimeoutPolicy != null && - !string.IsNullOrEmpty(_vaultTimeoutPolicy.GetString(Policy.MINUTES_KEY))) + !string.IsNullOrEmpty(_vaultTimeoutPolicy.GetString(Policy.ACTION_KEY))) { // do nothing if we have a policy set return;