Skip to content

Commit 57ba17a

Browse files
authored
Changed License plans validation to not allow AGPL as a registered plan (#3385)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent f4d98a4 commit 57ba17a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

web-app/src/config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,5 @@ export const getLogoApplicationVariant =
6868

6969
export const registeredCluster = (): boolean => {
7070
const plan = getLogoVar();
71-
return [
72-
"AGPL",
73-
"simple",
74-
"standard",
75-
"enterprise",
76-
"new",
77-
"enterpriseos",
78-
"enterpriseosvertical",
79-
].includes(plan || "AGPL");
71+
return ["standard", "enterprise", "enterpriseos"].includes(plan || "AGPL");
8072
};

0 commit comments

Comments
 (0)