From 1c63e6a8487a4af0a2dd24924ef8c0f3eb770015 Mon Sep 17 00:00:00 2001 From: Collin Eng Date: Tue, 27 Jul 2021 12:33:08 -0700 Subject: [PATCH] Adding GitLab button and text props (#17848) Co-authored-by: Mattermod --- config/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/client.go b/config/client.go index 211c098f3d..a758880f25 100644 --- a/config/client.go +++ b/config/client.go @@ -254,6 +254,8 @@ func GenerateLimitedClientConfig(c *model.Config, telemetryID string, license *m props["EmailLoginButtonTextColor"] = *c.EmailSettings.LoginButtonTextColor props["EnableSignUpWithGitLab"] = strconv.FormatBool(*c.GitLabSettings.Enable) + props["GitLabButtonColor"] = *c.GitLabSettings.ButtonColor + props["GitLabButtonText"] = *c.GitLabSettings.ButtonText props["TermsOfServiceLink"] = *c.SupportSettings.TermsOfServiceLink props["PrivacyPolicyLink"] = *c.SupportSettings.PrivacyPolicyLink