1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

add missing csrf token validation to admin (#1696)

This commit is contained in:
Kyle Spearrin
2021-11-09 11:22:08 -05:00
committed by GitHub
parent 9582e94232
commit fcc1a4e10c
2 changed files with 10 additions and 13 deletions

View File

@@ -70,6 +70,7 @@ namespace Bit.Admin.Controllers
}
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Create(CreateProviderModel model)
{
if (!ModelState.IsValid)