Update Secure Coding - Broken Authentication.md

This commit is contained in:
Mehdi 2023-12-09 10:07:39 +03:30 committed by GitHub
parent b4859f72b1
commit 53ae9cdab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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