Skip to content

Commit

Permalink
Make policies available in generated org licenses. (#56)
Browse files Browse the repository at this point in the history
* Make policies available in generated org licenses.

* Change license version to current value used in BitWarden. Add info about compatibility in README file.
  • Loading branch information
accolon committed Mar 17, 2020
1 parent 006fa1f commit faf7833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following instructions are for unix-based systems (Linux, BSD, macOS), it is
## Dependencies
Aside from docker, which you also need for Bitwarden, BitBetter requires the following:

* Bitwarden (tested up to 1.32.0)
* Bitwarden (tested with 1.33.0, might work on lower versions)
* openssl (probably already installed on most Linux or WSL systems, any version should work)

## Setting up BitBetter
Expand Down
3 changes: 2 additions & 1 deletion src/licenseGen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ void set(string name, object value)
set("PlanType", (byte)6);
set("Seats", (short)32767);
set("MaxCollections", short.MaxValue);
set("UsePolicies", true);
set("UseGroups", true);
set("UseEvents", true);
set("UseDirectory", true);
Expand All @@ -366,7 +367,7 @@ void set(string name, object value)
set("MaxStorageGb", short.MaxValue);
set("SelfHost", true);
set("UsersGetPremium", true);
set("Version", 4);
set("Version", 5);
set("Issued", DateTime.UtcNow);
set("Refresh", DateTime.UtcNow.AddYears(100).AddMonths(-1));
set("Expires", DateTime.UtcNow.AddYears(100));
Expand Down

0 comments on commit faf7833

Please sign in to comment.