diff options
author | Girish Ramakrishnan <mail@girish.in> | 2016-09-02 11:33:26 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-09-02 14:33:26 -0400 |
commit | 6c085594e47eeabbe5084a0e5c231af3e18527b6 (patch) | |
tree | ad1eb6b3ad1dc813a574ffb615ca31b328bca451 /webapp/components | |
parent | f32eb525f3fa0828a23f589d765c267e3b2aea86 (diff) | |
download | chat-6c085594e47eeabbe5084a0e5c231af3e18527b6.tar.gz chat-6c085594e47eeabbe5084a0e5c231af3e18527b6.tar.bz2 chat-6c085594e47eeabbe5084a0e5c231af3e18527b6.zip |
mail: allow PLAIN auth over non-tls connections (#3900)
This allows mattermost to use a non-tls connection with a SMTP server that
supports PLAIN auth (but not LOGIN). The go library explicitly allows PLAIN
auth over non-tls connections - https://golang.org/src/net/smtp/auth.go#L55
Fixes #2929
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/admin_console/connection_security_dropdown_setting.jsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/components/admin_console/connection_security_dropdown_setting.jsx b/webapp/components/admin_console/connection_security_dropdown_setting.jsx index 09768049e..06be7f78e 100644 --- a/webapp/components/admin_console/connection_security_dropdown_setting.jsx +++ b/webapp/components/admin_console/connection_security_dropdown_setting.jsx @@ -30,6 +30,20 @@ const CONNECTION_SECURITY_HELP_TEXT = ( <tr> <td> <FormattedMessage + id='admin.connectionSecurityPlain' + defaultMessage='PLAIN' + /> + </td> + <td> + <FormattedMessage + id='admin.connectionSecurityPlainDescription' + defaultMessage='Mattermost will connect and authenticate over an unsecure connection.' + /> + </td> + </tr> + <tr> + <td> + <FormattedMessage id='admin.connectionSecurityTls' defaultMessage='TLS' /> @@ -66,6 +80,7 @@ export default class ConnectionSecurityDropdownSetting extends React.Component { id='connectionSecurity' values={[ {value: '', text: Utils.localizeMessage('admin.connectionSecurityNone', 'None')}, + {value: 'PLAIN', text: Utils.localizeMessage('admin.connectionSecurityPlain')}, {value: 'TLS', text: Utils.localizeMessage('admin.connectionSecurityTls', 'TLS (Recommended)')}, {value: 'STARTTLS', text: Utils.localizeMessage('admin.connectionSecurityStart')} ]} |