This commit is contained in:
2018-07-06 22:52:27 +00:00
parent 2093308e5c
commit 267aa882a1
2 changed files with 14 additions and 4 deletions

View File

@@ -36,11 +36,11 @@ namespace contact.Pages
{
return Page();
}
//fuck those Russian spammers
if(Contact.Company.ToLowerInvariant()!="google")
SendMail();
SendMail();
//todo go back to where they came from?
//or more likely just show a success page
//TODO: go to a successful submit page or the root of the ayanova site
return RedirectToPage("Index");
}

10
notes Normal file
View File

@@ -0,0 +1,10 @@
Todo:
Put up to server for testing from test static site copy before getting too crazy with it
Once it confirms to work then:
Proper redirect after successful submit
Add request forms
$Profit