Update Secure Coding - Broken Authentication.md
This commit is contained in:
parent
b4859f72b1
commit
53ae9cdab0
@ -71,9 +71,7 @@ IAuthenticationService authenticationService)
|
||||
[HttpPost]
|
||||
public IActionResult Login(LoginModel loginModel)
|
||||
{
|
||||
if (_authenticationService.AuthenticateUser(loginModel.Username,
|
||||
|
||||
loginModel.Password))
|
||||
if (_authenticationService.AuthenticateUser(loginModel.Username,loginModel.Password))
|
||||
|
||||
{
|
||||
// Generate and return authentication token
|
||||
|
Loading…
Reference in New Issue
Block a user