diff options
-rw-r--r-- | api/admin.go | 2 | ||||
-rw-r--r-- | webapp/i18n/en.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/api/admin.go b/api/admin.go index 096235a65..8d9d92aa5 100644 --- a/api/admin.go +++ b/api/admin.go @@ -184,7 +184,7 @@ func testEmail(c *Context, w http.ResponseWriter, r *http.Request) { return } - if len(utils.Cfg.EmailSettings.SMTPServer) == 0 { + if len(cfg.EmailSettings.SMTPServer) == 0 { c.Err = model.NewLocAppError("testEmail", "api.admin.test_email.missing_server", nil, utils.T("api.context.invalid_param.app_error", map[string]interface{}{"Name": "SMTPServer"})) return } diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index c0c8c74be..4bf470799 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -144,6 +144,7 @@ "admin.email.allowSignupTitle": "Allow Sign Up With Email: ", "admin.email.allowUsernameSignInDescription": "When true, Mattermost allows users to sign in using their username and password. This setting is typically only used when email verification is disabled.", "admin.email.allowUsernameSignInTitle": "Allow Sign In With Username: ", + "admin.email.connectionSecurityTest": "Test Connection", "admin.email.easHelp": "Learn more about compiling and deploying your own mobile apps from an <a href=\"http://docs.mattermost.com/deployment/push.html#enterprise-app-store-eas\" target=\"_blank\">Enterprise App Store</a>.", "admin.email.emailFail": "Connection unsuccessful: {error}", "admin.email.emailSuccess": "No errors were reported while sending an email. Please check your inbox to make sure.", |