mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 23:23:15 +08: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