revendor with go-pkgz/auth v0.7.1
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ func NewEmailClient(p EmailParams, l logger.L) *Email {
|
||||
// If SMTPClient defined in Email struct it will be used, if not - new smtp.Client on each send.
|
||||
// Always closes client on completion or failure.
|
||||
func (em *Email) Send(to string, text string) error {
|
||||
|
||||
em.Logf("[DEBUG] send %q to %s", text, to)
|
||||
client := em.SMTPClient
|
||||
if client == nil { // if client not set make new net/smtp
|
||||
c, err := em.client()
|
||||
|
||||
+1
-1
@@ -196,7 +196,7 @@ func (e VerifyHandler) LogoutHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
var msgTemplate = `
|
||||
Remark42 confirmation for {{.User}} {{.Address}}, site {{.Site}}
|
||||
Confirmation for {{.User}} {{.Address}}, site {{.Site}}
|
||||
|
||||
Token: {{.Token}}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user