From b337173ccac88f06ebcc572928837f23f10cb7cf Mon Sep 17 00:00:00 2001
From: CREDO23
Date: Thu, 17 Sep 2026 18:53:12 +0200
Subject: [PATCH] fix(license): say a license expires rather than renews
Nothing auto-renews: a licence file carries a fixed expiry date, so
"Renews" was wrong for a trial and misleading for individual and team.
"Expires" is accurate for every plan, which keeps this a single label
rather than a branch on plan.
---
.../frontend/src/features/license/license-settings.test.tsx | 2 +-
.../frontend/src/features/license/license-settings.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/surfsense_local/frontend/src/features/license/license-settings.test.tsx b/surfsense_local/frontend/src/features/license/license-settings.test.tsx
index 8be2b05186..6b9761d686 100644
--- a/surfsense_local/frontend/src/features/license/license-settings.test.tsx
+++ b/surfsense_local/frontend/src/features/license/license-settings.test.tsx
@@ -118,7 +118,7 @@ describe("License settings", () => {
expect(screen.getByText("Active")).toBeTruthy()
expect(screen.getByText("ada@example.com")).toBeTruthy()
expect(
- screen.getByText(/Renews 10 Sept 2027|Renews Sep 10, 2027/)
+ screen.getByText(/Expires 10 Sept 2027|Expires Sep 10, 2027/)
).toBeTruthy()
expect(calls).toEqual([
{ method: "PUT", body: { certificate: CERTIFICATE } },
diff --git a/surfsense_local/frontend/src/features/license/license-settings.tsx b/surfsense_local/frontend/src/features/license/license-settings.tsx
index ecd13161d4..ca042c8a7c 100644
--- a/surfsense_local/frontend/src/features/license/license-settings.tsx
+++ b/surfsense_local/frontend/src/features/license/license-settings.tsx
@@ -253,7 +253,7 @@ export function LicenseSettings() {
{status.expiry ? (
- {status.state === "active" ? "Renews" : "Ended"}{" "}
+ {status.state === "active" ? "Expires" : "Ended"}{" "}
{dateLabel(status.expiry)}
{status.max_users ? ` ยท ${status.max_users} seats` : ""}