mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
Fixes 1019, install page SMTP user is required to (#1020)
to be an email address. Signed-off-by: P.B. <puffybsd@yahoo.com>
This commit is contained in:
@ -33,7 +33,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
|
||||
|
Reference in New Issue
Block a user