configure default mail for use with MailHog

This commit is contained in:
2025-10-06 22:41:49 -06:00
parent 7db709be55
commit 933d028196
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -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"
+1
View File
@@ -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))