changed contact form reply_to and response html

This commit is contained in:
$(pass /github/name)
2024-08-21 12:29:13 +02:00
parent 3224536e56
commit ee66835649
5 changed files with 34 additions and 14 deletions

View File

@@ -95,7 +95,7 @@ func getBaseRequest() *url.Values {
return &url.Values{
"username": {""},
"name": {"My-First and-Last-Name"},
"email": {"name@domain.de"},
"REPLY_TO": {"name@domain.de"},
"message": {"My message to the world"},
}
}
@@ -116,7 +116,7 @@ func getContactData() []RelayContactRequestTest {
Assert: false,
Input: *customizeRequest(
map[string]string{
"email": "",
"REPLY_TO": "",
}),
},
{
@@ -125,7 +125,7 @@ func getContactData() []RelayContactRequestTest {
Assert: false,
Input: *customizeRequest(
map[string]string{
"email": "novalid#email.de",
"REPLY_TO": "novalid#email.de",
}),
},
{