mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 21:47:29 +02:00
install: allow sender's username to be non-email (#3717)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user