summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-30 14:33:32 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-30 14:33:32 -0400
commit74d2c5b6ceb507e11032c79252f1778e7512d612 (patch)
treee2addd98f0a14cdf54fce337bfc9d732de6f0f04 /utils/config.go
parent6cad40ecf41740ae57a14df12dc363adafb49d18 (diff)
parentf9a3a4b3949dddecae413b97904c895b2cd887bf (diff)
downloadchat-74d2c5b6ceb507e11032c79252f1778e7512d612.tar.gz
chat-74d2c5b6ceb507e11032c79252f1778e7512d612.tar.bz2
chat-74d2c5b6ceb507e11032c79252f1778e7512d612.zip
Merge pull request #2518 from mattermost/plt-2187
PLT-2187 Add MFA functionality
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 9624196be..93c8ffc7c 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -212,6 +212,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableSignUpWithEmail"] = strconv.FormatBool(c.EmailSettings.EnableSignUpWithEmail)
props["EnableSignInWithEmail"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithEmail)
props["EnableSignInWithUsername"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithUsername)
+ props["EnableMultifactorAuthentication"] = strconv.FormatBool(*c.ServiceSettings.EnableMultifactorAuthentication)
props["RequireEmailVerification"] = strconv.FormatBool(c.EmailSettings.RequireEmailVerification)
props["FeedbackEmail"] = c.EmailSettings.FeedbackEmail