configure default mail for use with MailHog
This commit is contained in:
+4
-4
@@ -19,10 +19,10 @@ database:
|
||||
driver: "mysql"
|
||||
dsn: "amsdb:x00yes2k@tcp(localhost)/amsterdam?parseTime=true&loc=Local"
|
||||
email:
|
||||
host: smtp.example.com
|
||||
port: 587
|
||||
tls: starttls
|
||||
authType: plain
|
||||
host: localhost
|
||||
port: 1025
|
||||
tls: none
|
||||
authType: none
|
||||
user: jrn
|
||||
password: foobiebletch
|
||||
mailFromAddr: "nobody@example.com"
|
||||
|
||||
@@ -48,6 +48,7 @@ func setupEcho() *echo.Echo {
|
||||
e.GET("/logout", ui.AmWrap(Logout))
|
||||
e.GET("/newacct", ui.AmWrap(NewAccountUserAgreement))
|
||||
e.GET("/newacct2", ui.AmWrap(NewAccountForm))
|
||||
e.POST("/newacct2", ui.AmWrap(NewAccount))
|
||||
e.GET("/verify", ui.AmWrap(VerifyEmailForm))
|
||||
e.POST("/verify", ui.AmWrap(VerifyEMail))
|
||||
e.GET("/passrecovery/:uid/:auth", ui.AmWrap(PasswordRecovery))
|
||||
|
||||
Reference in New Issue
Block a user