From 08b1dc4ea813e27fb4622d7466c11b90840160c5 Mon Sep 17 00:00:00 2001 From: Shivashis Padhi Date: Mon, 6 Feb 2023 16:02:47 +0530 Subject: [PATCH] Remove mention of FreeOAuth --- app/utils/server/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/server/index.ts b/app/utils/server/index.ts index b284076cd..65995608a 100644 --- a/app/utils/server/index.ts +++ b/app/utils/server/index.ts @@ -60,11 +60,11 @@ export function loginOptions(config: ClientConfig, license: ClientLicense) { const isLicensed = license.IsLicensed === 'true'; const samlEnabled = config.EnableSaml === 'true' && isLicensed && license.SAML === 'true'; const gitlabEnabled = config.EnableSignUpWithGitLab === 'true'; - const isMinServerVersionForFreeOAuth = isMinimumServerVersion(config.Version, 7, 6); + const isMinServerVersionForCloudOAuthChanges = isMinimumServerVersion(config.Version, 7, 6); let googleEnabled = false; let o365Enabled = false; let openIdEnabled = false; - if (isMinServerVersionForFreeOAuth) { + if (isMinServerVersionForCloudOAuthChanges) { googleEnabled = config.EnableSignUpWithGoogle === 'true'; o365Enabled = config.EnableSignUpWithOffice365 === 'true'; openIdEnabled = config.EnableSignUpWithOpenId === 'true';