mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
This reverts commit dcb5854557.
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
var policy = (await _policyService.GetAll(PolicyType.MaximumVaultTimeout, userId)).First();
|
||||
// Remove negative values, and ensure it's smaller than maximum allowed value according to policy
|
||||
var policyTimeout = _policyService.GetPolicyInt(policy, PolicyService.TIMEOUT_POLICY_MINUTES);
|
||||
var policyTimeout = _policyService.GetPolicyInt(policy, "minutes");
|
||||
if (!policyTimeout.HasValue)
|
||||
{
|
||||
return vaultTimeout;
|
||||
|
||||
Reference in New Issue
Block a user