mirror of
https://github.com/bitwarden/server
synced 2026-01-04 01:23:25 +00:00
BRE-1355 - Rename Bitwarden Unified to Bitwarden Lite (#6592)
This commit is contained in:
@@ -21,7 +21,7 @@ public class GlobalSettings : IGlobalSettings
|
||||
}
|
||||
|
||||
public bool SelfHosted { get; set; }
|
||||
public bool UnifiedDeployment { get; set; }
|
||||
public bool LiteDeployment { get; set; }
|
||||
public virtual string KnownProxies { get; set; }
|
||||
public virtual string SiteName { get; set; }
|
||||
public virtual string ProjectName { get; set; }
|
||||
|
||||
@@ -6,7 +6,7 @@ public interface IGlobalSettings
|
||||
{
|
||||
// This interface exists for testing. Add settings here as needed for testing
|
||||
bool SelfHosted { get; set; }
|
||||
bool UnifiedDeployment { get; set; }
|
||||
bool LiteDeployment { get; set; }
|
||||
string KnownProxies { get; set; }
|
||||
string ProjectName { get; set; }
|
||||
bool EnableCloudCommunication { get; set; }
|
||||
|
||||
@@ -645,7 +645,7 @@ public static class ServiceCollectionExtensions
|
||||
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
|
||||
};
|
||||
|
||||
if (!globalSettings.UnifiedDeployment)
|
||||
if (!globalSettings.LiteDeployment)
|
||||
{
|
||||
// Trust the X-Forwarded-Host header of the nginx docker container
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user