Potential fix for pull request finding 'CodeQL / Missing cross-site request forgery token validation'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-07-06 00:57:47 +01:00 committed by GitHub
commit 19e3b30830
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -204,6 +204,7 @@ namespace Yavsc.ApiControllers
/// the URL surface.</para>
/// </summary>
[HttpPost("estimate/{id:long}/sign")]
[ValidateAntiForgeryToken]
[Consumes("application/json")]
[ProducesResponseType(StatusCodes.Status201Created)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]