Skip to content

Commit

Permalink
Merge pull request #66 from Vin205/autofix/alert-3-dff30057f6
Browse files Browse the repository at this point in the history
Fix code scanning alert no. 3: Clear-text logging of sensitive information
  • Loading branch information
skmirajulislam authored Oct 6, 2024
2 parents 9d904b5 + e973a72 commit 55577a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Login() {
}

// Placeholder for actual login logic
console.log('Logging in with:', { username, password });
console.log('Logging in with username:', username);
alert('Login successful!'); // This would be replaced with actual logic

// Clear fields after successful login
Expand Down

0 comments on commit 55577a2

Please sign in to comment.