This commit is contained in:
2018-07-23 19:33:27 +00:00
parent a54087b5a5
commit bdbf4b6316
6 changed files with 92 additions and 19 deletions

View File

@@ -53,8 +53,8 @@ namespace contact.Pages
_configuration.GetSection("GoogleReCaptcha:secret").Value
))
{
//ModelState.AddModelError(string.Empty, "You failed the CAPTCHA, stupid robot. Go play some 1x1 on SFs instead.");
return StatusCode(400);
//Return a fail code that will hopefully take us off the spammers list
return StatusCode(500);
}