We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a64023f commit 494570aCopy full SHA for 494570a
1 file changed
README.md
@@ -52,7 +52,7 @@ It's a simple honeypot implementation for ASP.NET Core to detect bot posts.
52
[HttpPost]
53
public async Task<IActionResult> PostRegister(RegisterViewModel registerData)
54
{
55
- if (HttpContext.IsHoneypotTrapped())
+ if (await HttpContext.IsHoneypotTriggeredAsync())
56
57
ModelState.Clear();
58
ModelState.AddModelError("", "bot detection");
0 commit comments