Fix code scanning alert #11: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Leandro Antônio Farias Machado 2024-09-21 11:26:45 -03:00 committed by GitHub
parent d4afbbbfd1
commit 48363a24e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -406,7 +406,7 @@ const Page = () => {
} }
}>Cancel</Button> }>Cancel</Button>
<Button onClick={()=>{ <Button onClick={()=>{
console.log("new user data: ", newUserData) // console.log("new user data: ", newUserData) // Removed to prevent logging sensitive information
if (newUserData.password === undefined || newUserData.password === "") { if (newUserData.password === undefined || newUserData.password === "") {
setIsPasswordEmpty(true) setIsPasswordEmpty(true)
return return