Skip to content

Commit

Permalink
fix: remove IgnoreAntiforgeryToken attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Mar 4, 2025
1 parent 53a6a45 commit 6c26657
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ public class ApiKeyValidationController : ControllerBase
{
[HttpPost]
[AllowAnonymous]
[IgnoreAntiforgeryToken]
public IActionResult ValidateApiKey([FromBody] ValidateApiKeyRequest? request, [FromServices] ApiKeyValidator apiKeyValidator)
{
var apiKeyIsValid = apiKeyValidator.IsApiKeyValid(request?.ApiKey);
Expand Down

0 comments on commit 6c26657

Please sign in to comment.