mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-07-12 14:33:27 +00:00
Compare commits
2 Commits
02740e84b6
...
3d4c10d6f6
Author | SHA1 | Date | |
---|---|---|---|
|
3d4c10d6f6 | ||
|
1597800b89 |
|
@ -1,3 +1,4 @@
|
||||||
docker run -d --name bitwarden -v <full-local-path>\logs:/var/log/bitwarden -v <full-local-path>\bwdata:/etc/bitwarden -p 80:8080 --env-file <full-local-path>\settings.env bitwarden-patch
|
# Uncomment a line below and fill in the missing values or add your own. Every line in this file will be called by build.[sh|ps1] once the patched image is built.
|
||||||
<OR>
|
# docker run -d --name bitwarden -v <full-local-path>\logs:/var/log/bitwarden -v <full-local-path>\bwdata:/etc/bitwarden -p 80:8080 --env-file <full-local-path>\settings.env bitwarden-patch
|
||||||
docker-compose -f <full-local-path>/docker-compose.yml up -d
|
# <OR>
|
||||||
|
# docker-compose -f <full-local-path>/docker-compose.yml up -d
|
||||||
|
|
|
@ -438,7 +438,9 @@ internal class Program
|
||||||
Set("LicenseType", Enum.Parse(licenseTypeEnum, "Organization"));
|
Set("LicenseType", Enum.Parse(licenseTypeEnum, "Organization"));
|
||||||
Set("LimitCollectionCreationDeletion", true); //This will be used in the new version of BitWarden but can be applied now
|
Set("LimitCollectionCreationDeletion", true); //This will be used in the new version of BitWarden but can be applied now
|
||||||
Set("AllowAdminAccessToAllCollectionItems", true);
|
Set("AllowAdminAccessToAllCollectionItems", true);
|
||||||
|
Set("UseRiskInsights", true);
|
||||||
|
Set("UseOrganizationDomains", true);
|
||||||
|
Set("UseAdminSponsoredFamilies", true);
|
||||||
Set("Hash", Convert.ToBase64String((Byte[])type.GetMethod("ComputeHash").Invoke(license, [])));
|
Set("Hash", Convert.ToBase64String((Byte[])type.GetMethod("ComputeHash").Invoke(license, [])));
|
||||||
Set("Signature", Convert.ToBase64String((Byte[])type.GetMethod("Sign").Invoke(license, [cert])));
|
Set("Signature", Convert.ToBase64String((Byte[])type.GetMethod("Sign").Invoke(license, [cert])));
|
||||||
|
|
||||||
|
@ -450,4 +452,4 @@ internal class Program
|
||||||
type.GetProperty(name)?.SetValue(license, value);
|
type.GetProperty(name)?.SetValue(license, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user