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