mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-09 13:27:57 +01:00
[#1728] normalized mailer.Message recipient fields
This commit is contained in:
1 parent
69b80123de
commit
2378bc72c5
9 files changed
+98
-42
No files matched your search
+1
-1
@@ -56,7 +56,7 @@ func SendAdminPasswordReset(app core.App, admin *models.Admin) error {
|
||||
Name: app.Settings().Meta.SenderName,
|
||||
Address: app.Settings().Meta.SenderAddress,
|
||||
},
|
||||
To: mail.Address{Address: admin.Email},
|
||||
To: []mail.Address{{Address: admin.Email}},
|
||||
Subject: "Reset admin password",
|
||||
HTML: body,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user