mirror of
https://github.com/gogs/gogs.git
synced 2025-05-27 17:52:21 +00:00
install: fix SMTP password config name to save (#7807)
This commit is contained in:
parent
03d26b0482
commit
e34ebac459
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user