mirror of https://github.com/gogs/gogs.git
install: fix SMTP password config name to save (#7807)
parent
75969c92ef
commit
b89da2f6eb
|
@ -342,7 +342,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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue