Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
UNIDY2002 committed Nov 4, 2024
1 parent 68c574e commit c890821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThuInfoWeb/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public async Task<IActionResult> Login(LoginViewModel vm)
{
ModelState.AddModelError(nameof(vm.Name), "用户名或密码错误");
ModelState.AddModelError(nameof(vm.Password), "用户名或密码错误");
loginAttemptService.RecordAttempt(model.Name);
loginAttemptService.RecordAttempt(vm.Name);
return View(vm);
}

Expand Down

0 comments on commit c890821

Please sign in to comment.