Skip to content

Commit

Permalink
add smtp password to install page (#17564)
Browse files Browse the repository at this point in the history
* add smtp password to install page

* Update routers/install/install.go

Co-authored-by: zeripath <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
  • Loading branch information
3 people authored May 2, 2022
1 parent 71bafa0 commit 0ba3ada
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routers/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func Install(ctx *context.Context) {
form.SMTPHost = setting.MailService.Host
form.SMTPFrom = setting.MailService.From
form.SMTPUser = setting.MailService.User
form.SMTPPasswd = setting.MailService.Passwd
}
form.RegisterConfirm = setting.Service.RegisterEmailConfirm
form.MailNotify = setting.Service.EnableNotifyMail
Expand Down

0 comments on commit 0ba3ada

Please sign in to comment.