revendor with go-pkgz/auth v0.7.1

This commit is contained in:
Umputun
2019-07-02 22:42:26 -05:00
parent 24d685c4de
commit 1094d365a9
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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}}
`