diff --git a/Secure Coding - Broken Authentication.md b/Secure Coding - Broken Authentication.md index 7290a39..06ea0a0 100644 --- a/Secure Coding - Broken Authentication.md +++ b/Secure Coding - Broken Authentication.md @@ -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