Skip to content

Commit

Permalink
Changed License plans validation to not allow AGPL as a registered pl…
Browse files Browse the repository at this point in the history
…an (#3385)

Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Jun 13, 2024
1 parent f4d98a4 commit 57ba17a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions web-app/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,5 @@ export const getLogoApplicationVariant =

export const registeredCluster = (): boolean => {
const plan = getLogoVar();
return [
"AGPL",
"simple",
"standard",
"enterprise",
"new",
"enterpriseos",
"enterpriseosvertical",
].includes(plan || "AGPL");
return ["standard", "enterprise", "enterpriseos"].includes(plan || "AGPL");
};

0 comments on commit 57ba17a

Please sign in to comment.