mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-21 21:04:19 -04:00
add smtp password to install page (#17564)
* add smtp password to install page * Update routers/install/install.go Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
71bafa0263
commit
0ba3ada866
@ -134,6 +134,7 @@ func Install(ctx *context.Context) {
|
|||||||
form.SMTPHost = setting.MailService.Host
|
form.SMTPHost = setting.MailService.Host
|
||||||
form.SMTPFrom = setting.MailService.From
|
form.SMTPFrom = setting.MailService.From
|
||||||
form.SMTPUser = setting.MailService.User
|
form.SMTPUser = setting.MailService.User
|
||||||
|
form.SMTPPasswd = setting.MailService.Passwd
|
||||||
}
|
}
|
||||||
form.RegisterConfirm = setting.Service.RegisterEmailConfirm
|
form.RegisterConfirm = setting.Service.RegisterEmailConfirm
|
||||||
form.MailNotify = setting.Service.EnableNotifyMail
|
form.MailNotify = setting.Service.EnableNotifyMail
|
||||||
|
Loading…
Reference in New Issue
Block a user