diff options
author | Unknwon <u@gogs.io> | 2015-07-20 12:34:53 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-20 12:34:53 +0800 |
commit | 548b95f7b593d80a241c9a1027eda6b4549ca995 (patch) | |
tree | f08b3470d867af793ff5158c55bcc230ac39852a /modules/auth/user_form.go | |
parent | d6cdd49c1684f2d40f4e0932cb4e0ea987e1bd74 (diff) | |
download | gitea-548b95f7b593d80a241c9a1027eda6b4549ca995.tar.gz gitea-548b95f7b593d80a241c9a1027eda6b4549ca995.zip |
fix install form def
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r-- | modules/auth/user_form.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index b7c502efda..fa5583ffc6 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -17,20 +17,20 @@ type InstallForm struct { DbUser string DbPasswd string DbName string - SSLMode string `form:"ssl_mode"` + SSLMode string DbPath string AppName string `binding:"Required" locale:"install.app_name"` RepoRootPath string `binding:"Required"` RunUser string `binding:"Required"` Domain string `binding:"Required"` - HTTPPort string `form:"http_port" binding:"Required"` + HTTPPort string `binding:"Required"` 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"` + SMTPHost string + SMTPFrom string + SMTPEmail string `binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"` + SMTPPasswd string RegisterConfirm bool MailNotify bool |