mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-05 23:34:19 -04:00
fix install form def
This commit is contained in:
parent
d6cdd49c16
commit
548b95f7b5
@ -17,20 +17,20 @@ type InstallForm struct {
|
|||||||
DbUser string
|
DbUser string
|
||||||
DbPasswd string
|
DbPasswd string
|
||||||
DbName string
|
DbName string
|
||||||
SSLMode string `form:"ssl_mode"`
|
SSLMode string
|
||||||
DbPath string
|
DbPath string
|
||||||
|
|
||||||
AppName string `binding:"Required" locale:"install.app_name"`
|
AppName string `binding:"Required" locale:"install.app_name"`
|
||||||
RepoRootPath string `binding:"Required"`
|
RepoRootPath string `binding:"Required"`
|
||||||
RunUser string `binding:"Required"`
|
RunUser string `binding:"Required"`
|
||||||
Domain string `binding:"Required"`
|
Domain string `binding:"Required"`
|
||||||
HTTPPort string `form:"http_port" binding:"Required"`
|
HTTPPort string `binding:"Required"`
|
||||||
AppUrl string `binding:"Required"`
|
AppUrl string `binding:"Required"`
|
||||||
|
|
||||||
SMTPHost string `form:"smtp_host"`
|
SMTPHost string
|
||||||
SMTPFrom string `form:"smtp_from"`
|
SMTPFrom string
|
||||||
SMTPEmail string `form:"smtp_user" binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"`
|
SMTPEmail string `binding:"OmitEmpty;Email;MaxSize(50)" locale:"install.mailer_user"`
|
||||||
SMTPPasswd string `form:"smtp_passwd"`
|
SMTPPasswd string
|
||||||
RegisterConfirm bool
|
RegisterConfirm bool
|
||||||
MailNotify bool
|
MailNotify bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user