mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 02:04:20 +01:00
Add TLS toggle option to smtp configuration
This commit is contained in:
parent
ee6aa7a6b2
commit
db2c381c00
4 changed files with 30 additions and 10 deletions
|
|
@ -16,7 +16,7 @@ template(name="setting")
|
|||
+general
|
||||
else if emailSetting.get
|
||||
+email
|
||||
|
||||
|
||||
template(name="general")
|
||||
ul#registration-setting.setting-detail
|
||||
li
|
||||
|
|
@ -62,10 +62,18 @@ template(name='email')
|
|||
.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
|
||||
button.js-save.primary Save
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue