lay blame on google

This commit is contained in:
2020-07-21 12:01:02 +02:00
parent 7dee227e58
commit 51719b75f7
3 changed files with 22 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ type Field struct {
Label string Label string
// Text below the input field // Text below the input field
Description string Description template.HTML
// Separates fields with a horizontal rule // Separates fields with a horizontal rule
Separator bool Separator bool

View File

@@ -61,9 +61,13 @@ func (wc *WebController) registerForm(td *TemplateData, r *http.Request) (f Form
}, { }, {
Name: "email", Name: "email",
Label: "E-mail address", Label: "E-mail address",
Description: "not required. your e-mail address will only be " + Description: `not required. your e-mail address will only be
"used for password resets and important account " + used for password resets and important account
"notifications", notifications<br/><br/>
Note: Gmail has been blocking mails from pixeldrain since
the 13th of july. Please
<a href="https://support.google.com/mail/thread/new" target="_blank">contact Google</a>
if you didn't receive your confirmation mail`,
Separator: true, Separator: true,
Type: FieldTypeEmail, Type: FieldTypeEmail,
}, { }, {
@@ -190,8 +194,12 @@ func (wc *WebController) passwordResetForm(td *TemplateData, r *http.Request) (f
{ {
Name: "email", Name: "email",
Label: "E-mail address", Label: "E-mail address",
Description: "we will send a password reset link to this " + Description: `we will send a password reset link to this e-mail
"e-mail address", address<br/><br/>
Note: Gmail has been blocking mails from pixeldrain since
the 13th of july. Please
<a href="https://support.google.com/mail/thread/new" target="_blank">contact Google</a>
if you didn't receive your confirmation mail`,
Separator: true, Separator: true,
Type: FieldTypeEmail, Type: FieldTypeEmail,
}, { }, {

View File

@@ -136,10 +136,14 @@ func (wc *WebController) emailForm(td *TemplateData, r *http.Request) (f Form) {
{ {
Name: "new_email", Name: "new_email",
Label: "New e-mail address", Label: "New e-mail address",
Description: "we will send an e-mail to the new address to " + Description: `we will send an e-mail to the new address to
"verify that it's real. The address will be saved once " + verify that it's real. The address will be saved once the
"the link in the message is clicked. If the e-mail " + link in the message is clicked. If the e-mail doesn't arrive
"doesn't arrive right away please check your spam box too", right away please check your spam box too.<br/><br/>
Note: Gmail has been blocking mails from pixeldrain since
the 13th of july. Please
<a href="https://support.google.com/mail/thread/new" target="_blank">contact Google</a>
if you didn't receive your confirmation mail`,
Type: FieldTypeEmail, Type: FieldTypeEmail,
}, },
}, },