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:
@@ -70,6 +70,7 @@ namespace Bit.Admin.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> Create(CreateProviderModel model)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
|
||||
Reference in New Issue
Block a user