1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

Set client org max storage to 1GB (#4567)

This commit is contained in:
Alex Morask
2024-07-29 17:13:52 -04:00
committed by GitHub
parent 656e0c20f9
commit ef24724e8c

View File

@ -442,15 +442,14 @@ public class OrganizationService : IOrganizationService
var organization = new Organization
{
// Pre-generate the org id so that we can save it with the Stripe subscription..
// Pre-generate the org id so that we can save it with the Stripe subscription.
Id = CoreHelpers.GenerateComb(),
Name = signup.Name,
BillingEmail = signup.BillingEmail,
PlanType = plan!.Type,
Seats = signup.AdditionalSeats,
MaxCollections = plan.PasswordManager.MaxCollections,
// Extra storage not available for purchase with Consolidated Billing.
MaxStorageGb = 0,
MaxStorageGb = 1,
UsePolicies = plan.HasPolicies,
UseSso = plan.HasSso,
UseGroups = plan.HasGroups,