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:
parent
6ac264fa2c
commit
19e3b30830
1 changed files with 1 additions and 0 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue