From 53ae9cdab00a7839cbddff9278ca0e2c6a2e5cba Mon Sep 17 00:00:00 2001 From: Mehdi Date: Sat, 9 Dec 2023 10:07:39 +0330 Subject: [PATCH] Update Secure Coding - Broken Authentication.md --- Secure Coding - Broken Authentication.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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