From a2a9e151f8e6d0968035b61d034704fb7b34d3e5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 9 Jul 2015 16:10:31 +0800 Subject: install - add mail from setting --- modules/auth/user_form.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/auth') diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 05ef1a0e..b7c502ef 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -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 -- cgit v1.2.3