diff options
author | Unknwon <u@gogs.io> | 2017-02-12 18:35:25 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-12 18:35:25 -0500 |
commit | f59a607361ff3c21a49f3e0735c17dcceacbd3df (patch) | |
tree | 23c10d682417147853cb11440290944152b364d5 /modules/auth/user_form.go | |
parent | d21767dc9f3d6fe400982534dfdf81a34088e44c (diff) |
install: allow sender's username to be non-email (#3717)
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r-- | modules/auth/user_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 7bd6c7b9..7307320d 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -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 |