install: allow sender's username to be non-email (#3717)

This commit is contained in:
Unknwon
2017-02-12 18:35:25 -05:00
parent d21767dc9f
commit f59a607361
5 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ type InstallForm struct {
SMTPHost string
SMTPFrom string
SMTPEmail string `binding:"OmitEmpty;Email;MaxSize(254)" locale:"install.mailer_user"`
SMTPUser string `binding:"OmitEmpty;MaxSize(254)" locale:"install.mailer_user"`
SMTPPasswd string
RegisterConfirm bool
MailNotify bool