diff options
author | Unknwon <u@gogs.io> | 2015-07-09 16:10:31 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-09 16:10:31 +0800 |
commit | a2a9e151f8e6d0968035b61d034704fb7b34d3e5 (patch) | |
tree | 4e5ef858502ec3af0eefcc5aedc065d402a02513 /modules/auth/user_form.go | |
parent | b9dc2147b43667d39fd6e61027e84c51aad6485c (diff) | |
download | gitea-a2a9e151f8e6d0968035b61d034704fb7b34d3e5.tar.gz gitea-a2a9e151f8e6d0968035b61d034704fb7b34d3e5.zip |
install - add mail from setting
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r-- | modules/auth/user_form.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 05ef1a0e6b..b7c502efda 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 |