Merge pull request #7086 from mattermost/MM-49868_revert_mentions_of_free_oauth
MM-49868: Remove mentions of Free OAuth in OpenID-Connect section
This commit is contained in:
commit
7158de8d5e
1 changed files with 2 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue