From 2da5b12c31074591eaf16929b760322b98f189e8 Mon Sep 17 00:00:00 2001 From: jloup Date: Fri, 11 May 2018 13:57:29 +0200 Subject: Mails. --- cmd/app/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/app') diff --git a/cmd/app/main.go b/cmd/app/main.go index 28eb775..e414bf2 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -22,12 +22,12 @@ type AppConfig struct { type ApiConfig struct { api.Config - Domain string `toml:"domain"` } type Config struct { App AppConfig Api ApiConfig + Mail api.MailConfig Db db.DBConfig Redis db.RedisConfig @@ -61,6 +61,7 @@ func init() { } api.SetConfig(C.Api.Config) + api.SetMailConfig(C.Mail) db.Init(C.Db, C.Redis) @@ -139,6 +140,7 @@ func main() { "/", "/signup", "/signin", + "/confirm", "/reset-password", "/change-password", "/signout", -- cgit v1.2.3