From 0ba3ada866a20180942747a753f184250b3f140c Mon Sep 17 00:00:00 2001 From: Vladimir Smagin <21h@blindage.org> Date: Mon, 2 May 2022 15:45:23 +0700 Subject: [PATCH] add smtp password to install page (#17564) * add smtp password to install page * Update routers/install/install.go Co-authored-by: zeripath Co-authored-by: wxiaoguang --- routers/install/install.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/install/install.go b/routers/install/install.go index 9d28bc157..459f534b8 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -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