1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

[PM-3708] Allow local overrides for flag values (#3243)

* Allow local overrides for flag values

* Rename helper method
This commit is contained in:
Matt Bishop
2023-09-01 07:06:21 -04:00
committed by GitHub
parent c271e2dae2
commit d0cf8204c7
3 changed files with 37 additions and 26 deletions

View File

@ -46,4 +46,13 @@ public static class FeatureFlagKeys
.Select(x => (string)x.GetRawConstantValue())
.ToList();
}
public static Dictionary<string, string> GetLocalOverrideFlagValues()
{
// place overriding values when needed locally (offline), or return null
return new Dictionary<string, string>()
{
{ TrustedDeviceEncryption, "true" }
};
}
}