diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-17 11:29:13 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-17 11:29:13 -0700 |
commit | bf3ca45dac4b56d06394dd3ceb1cece61a10f1ae (patch) | |
tree | 0cf8da7c58b06c0482a7fc2e769f1e7555f53993 /utils/config.go | |
parent | 2a427254f4263b1d0b5f7c44268a0d34948971a7 (diff) | |
parent | f99ad06c19379a9279af0c260d9daceefc7fe944 (diff) | |
download | chat-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.go | 5 |
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 |