summaryrefslogtreecommitdiffstats
path: root/client/components/settings/settingBody.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-07-18 00:46:45 +0300
committerLauri Ojansivu <x@xet7.org>2018-07-18 00:46:45 +0300
commita8f41f7994b0c3a43aa4b82be06d35911eacab4d (patch)
tree0c0ca07150fbff2a5c0dd471e0a31d75fdc90f80 /client/components/settings/settingBody.jade
parentc0ddecb2eeea3277dcab5a750eac991b7b0945ea (diff)
downloadwekan-a8f41f7994b0c3a43aa4b82be06d35911eacab4d.tar.gz
wekan-a8f41f7994b0c3a43aa4b82be06d35911eacab4d.tar.bz2
wekan-a8f41f7994b0c3a43aa4b82be06d35911eacab4d.zip
Remove SMTP settings from Admin Panel, because they
are set in environment variable settings like source/snap/docker already, and password was exposed in plain text. Thanks to xet7 ! Closes #1783
Diffstat (limited to 'client/components/settings/settingBody.jade')
-rw-r--r--client/components/settings/settingBody.jade34
1 files changed, 0 insertions, 34 deletions
diff --git a/client/components/settings/settingBody.jade b/client/components/settings/settingBody.jade
index 5bc7972d..1832894c 100644
--- a/client/components/settings/settingBody.jade
+++ b/client/components/settings/settingBody.jade
@@ -55,40 +55,6 @@ template(name="general")
template(name='email')
ul#email-setting.setting-detail
- li.smtp-form
- .title {{_ 'smtp-host'}}
- .description {{_ 'smtp-host-description'}}
- .form-group
- input.form-control#mail-server-host(type="text", placeholder="smtp.domain.com" value="{{currentSetting.mailServer.host}}")
- li.smtp-form
- .title {{_ 'smtp-port'}}
- .description {{_ 'smtp-port-description'}}
- .form-group
- input.form-control#mail-server-port(type="text", placeholder="25" value="{{currentSetting.mailServer.port}}")
- li.smtp-form
- .title {{_ 'smtp-username'}}
- .form-group
- input.form-control#mail-server-username(type="text", placeholder="{{_ 'username'}}" value="{{currentSetting.mailServer.username}}")
- li.smtp-form
- .title {{_ 'smtp-password'}}
- .form-group
- input.form-control#mail-server-password(type="text", placeholder="{{_ 'password'}}" value="{{currentSetting.mailServer.password}}")
- li.smtp-form
- .title {{_ 'smtp-tls'}}
- .form-group
- a.flex.js-toggle-tls
- .materialCheckBox#mail-server-tls(class="{{#if currentSetting.mailServer.enableTLS}}is-checked{{/if}}")
-
- span {{_ 'smtp-tls-description'}}
-
- li.smtp-form
- .title {{_ 'send-from'}}
- .form-group
- input.form-control#mail-server-from(type="email", placeholder="no-reply@domain.com" value="{{currentSetting.mailServer.from}}")
-
- li
- button.js-save.primary {{_ 'save'}}
-
li
button.js-send-smtp-test-email.primary {{_ 'send-smtp-test'}}