summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-02-03 07:33:43 -0500
committerJoram Wilander <jwawilander@gmail.com>2016-02-03 07:33:43 -0500
commit4a09adeb391b23c7e850fec96a2e8a731b70d755 (patch)
treeca9cc2410dc17de823d923c9e0ff74fea16d2a82 /utils
parentd31ae207389b7402debbcaa40bb691e86023f1ba (diff)
parentb013f02209c7c128a35d1c54f2d4a7d6a9701f72 (diff)
downloadchat-4a09adeb391b23c7e850fec96a2e8a731b70d755.tar.gz
chat-4a09adeb391b23c7e850fec96a2e8a731b70d755.tar.bz2
chat-4a09adeb391b23c7e850fec96a2e8a731b70d755.zip
Merge pull request #1991 from rgarmsen2295/plt-976
PLT-976 Adds ability to sign in with username
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 9d2c2f588..e9b7e1878 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -208,6 +208,8 @@ func getClientConfig(c *model.Config) map[string]string {
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["EnableSignUpWithEmail"] = strconv.FormatBool(c.EmailSettings.EnableSignUpWithEmail)
+ props["EnableSignInWithEmail"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithEmail)
+ props["EnableSignInWithUsername"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithUsername)
props["RequireEmailVerification"] = strconv.FormatBool(c.EmailSettings.RequireEmailVerification)
props["FeedbackEmail"] = c.EmailSettings.FeedbackEmail