install - add mail from setting
This commit is contained in:
parent
b9dc2147b4
commit
a2a9e151f8
9 changed files with 68 additions and 50 deletions
|
@ -28,6 +28,7 @@ type InstallForm struct {
|
|||
AppUrl string `binding:"Required"`
|
||||
|
||||
SMTPHost string `form:"smtp_host"`
|
||||
SMTPFrom string `form:"smtp_from"`
|
||||
SMTPEmail string `form:"smtp_user" binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"`
|
||||
SMTPPasswd string `form:"smtp_passwd"`
|
||||
RegisterConfirm bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue