mirror of
https://github.com/bitwarden/server.git
synced 2025-07-16 07:07:32 -05:00
resolve the free org update issue
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
@ -255,7 +255,7 @@ public class OrganizationsController : Controller
|
||||
Seats = organization.Seats
|
||||
};
|
||||
|
||||
if (model.PlanType == PlanType.Free && model.Seats > 2)
|
||||
if (organization.PlanType != PlanType.Free && model.PlanType == PlanType.Free && model.Seats > 2)
|
||||
{
|
||||
TempData["Error"] = "Organizations with more than 2 seats cannot be downgraded to the Free plan";
|
||||
return RedirectToAction("Edit", new { id });
|
||||
|
Reference in New Issue
Block a user