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
// Text below the input field
Description string
Description template.HTML
// Separates fields with a horizontal rule
Separator bool

View File

@@ -61,9 +61,13 @@ func (wc *WebController) registerForm(td *TemplateData, r *http.Request) (f Form
}, {
Name: "email",
Label: "E-mail address",
Description: "not required. your e-mail address will only be " +
"used for password resets and important account " +
"notifications",
Description: `not required. your e-mail address will only be
used for password resets and important account
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,
Type: FieldTypeEmail,
}, {
@@ -190,8 +194,12 @@ func (wc *WebController) passwordResetForm(td *TemplateData, r *http.Request) (f
{
Name: "email",
Label: "E-mail address",
Description: "we will send a password reset link to this " +
"e-mail address",
Description: `we will send a password reset link to this e-mail
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,
Type: FieldTypeEmail,
}, {

View File

@@ -136,10 +136,14 @@ func (wc *WebController) emailForm(td *TemplateData, r *http.Request) (f Form) {
{
Name: "new_email",
Label: "New e-mail address",
Description: "we will send an e-mail to the new address to " +
"verify that it's real. The address will be saved once " +
"the link in the message is clicked. If the e-mail " +
"doesn't arrive right away please check your spam box too",
Description: `we will send an e-mail to the new address to
verify that it's real. The address will be saved once the
link in the message is clicked. If the e-mail doesn't arrive
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,
},
},