mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
Split some settings into new "messages" section
Most email dependant sections now depend on this. Also renamed more email things.
This commit is contained in:
2
setup.go
2
setup.go
@@ -29,7 +29,7 @@ func (app *appContext) ServeSetup(gc *gin.Context) {
|
||||
"success_message": app.config.Section("ui").Key("success_message").String(),
|
||||
},
|
||||
"email": {
|
||||
"message": app.config.Section("email").Key("message").String(),
|
||||
"message": app.config.Section("messages").Key("message").String(),
|
||||
},
|
||||
}
|
||||
msg, err := json.Marshal(messages)
|
||||
|
||||
Reference in New Issue
Block a user