From f59a607361ff3c21a49f3e0735c17dcceacbd3df Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 12 Feb 2017 18:35:25 -0500 Subject: install: allow sender's username to be non-email (#3717) --- modules/auth/user_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3