mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Revert "Remove unused variables" (#5667)
This reverts commit f070b22355.
This commit is contained in:
@@ -205,7 +205,7 @@ namespace BTCPayServer.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
await _userManager.AccessFailedAsync(user);
|
||||
var incrementAccessFailedResult = await _userManager.AccessFailedAsync(user);
|
||||
ModelState.AddModelError(string.Empty, "Invalid login attempt.");
|
||||
return View(model);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user