summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-06-17 11:29:13 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-06-17 11:29:13 -0700
commitbf3ca45dac4b56d06394dd3ceb1cece61a10f1ae (patch)
tree0cf8da7c58b06c0482a7fc2e769f1e7555f53993 /utils/config.go
parent2a427254f4263b1d0b5f7c44268a0d34948971a7 (diff)
parentf99ad06c19379a9279af0c260d9daceefc7fe944 (diff)
downloadchat-bf3ca45dac4b56d06394dd3ceb1cece61a10f1ae.tar.gz
chat-bf3ca45dac4b56d06394dd3ceb1cece61a10f1ae.tar.bz2
chat-bf3ca45dac4b56d06394dd3ceb1cece61a10f1ae.zip
Merge pull request #6 from rgarmsen2295/master
Remerging
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 745887c70..418041706 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -222,6 +222,11 @@ func LoadConfig(fileName string) {
config.ServiceSettings.Domain = os.Getenv("MATTERMOST_DOMAIN")
}
+ // Validates our mail settings
+ if err := CheckMailSettings(); err != nil {
+ l4g.Error("Email settings are not valid err=%v", err)
+ }
+
configureLog(config.LogSettings)
Cfg = &config