mirror of
https://github.com/gogs/gogs.git
synced 2026-01-02 05:30:07 +01:00
install: fix SMTP password config name to save (#7807)
This commit is contained in:
@@ -343,7 +343,7 @@ func InstallPost(c *context.Context, f form.Install) {
|
||||
cfg.Section("email").Key("HOST").SetValue(f.SMTPHost)
|
||||
cfg.Section("email").Key("FROM").SetValue(f.SMTPFrom)
|
||||
cfg.Section("email").Key("USER").SetValue(f.SMTPUser)
|
||||
cfg.Section("email").Key("PASSWD").SetValue(f.SMTPPasswd)
|
||||
cfg.Section("email").Key("PASSWORD").SetValue(f.SMTPPasswd)
|
||||
} else {
|
||||
cfg.Section("email").Key("ENABLED").SetValue("false")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user